1. A method, implemented via a computing system, for managing network traffic, the method comprising: receiving, by a resolution server via a network, a set of traffic management rules; translating, by the resolution server, each traffic management rule of the set of traffic management rules into corresponding entries in one or more traffic management tables, wherein each traffic management rule of the set of traffic management rules corresponds to one or more rows in the one or more traffic management tables; receiving, by the resolution server, a Domain Name System (DNS) query from a client computer via the network, wherein the DNS query includes a domain name and resource record type; upon receiving the DNS query, searching, by the resolution server, an initial traffic management rule in one of the one or more traffic management tables without executing a traffic management script, based on the domain name and resource record type as a search key, wherein the initial traffic management rule specifies a first variable that affects a DNS answer; iterating, based on the initial traffic management rule, until the DNS answer to the DNS query is found, wherein the iterating comprises: fetching, via the computing system, a value for another variable specified in a successive traffic management rule obtained from one of the one or more traffic management tables; and searching, via the computing system, in one of the one or more traffic management tables the DNS answer or another successive traffic management rule based on the domain name, and the value for the another variable of the successive traffic management rule as a search key; and transmitting, by the resolution server, the DNS answer to the client computer.