Reputation: 667
I've a problem of routing DNS traffic on specific domains.
Example:
*.swaroop.com
should forward to ns.swaroop.com
swaroop.org
should forward to ns.swaroop.org
Can we achieve the above scenario with DNSMasq? Please let me know if anyone has done this.
Upvotes: 11
Views: 27889
Reputation: 144
The following configuration in /etc/dnsmasq.conf
should be useful:
server=/swaroop.com/ns.swaroop.com
server=/swaroop.org/ns.swaroop.org
Upvotes: 12