Override a DNS record using BIND9

binddomain-name-systeminternal-dns

Sorry if this has been asked before, but I can't seem to find any information specific to my case.

I run a server where users can connect with a Nintendo DS game if they change their DS' primary DNS server to my box. I'm currently using a simple python script that basically forwards all requests to their actual addresses except one: gamestats2.gs.nintendowifi.net, which it forwards to my IP. The problem is that this script tends to stop working after a day or two, requiring me to restart it.

Would I be able to override that single host in BIND9 while forwarding all other addresses to their proper IP? Or is there another server that would be better?

Best Answer

I would use dnsmasq and set the specific override in the config with the

address=/gamestats2.gs.nintendowifi.net/Yo.Ur.Ip.Ad

Directive...

Related Topic