How to configure bind9 to route to host's IP
Posted
by
Greg
on Server Fault
See other posts from Server Fault
or by Greg
Published on 2011-02-01T14:07:11Z
Indexed on
2011/02/01
15:27 UTC
Read the original article
Hit count: 343
I'm running apache and bind9 on the same server. I would like to set a master zone to route back to this very machine's IP address without explicitly specifying it. Is this possible?
If I use 127.0.0.1 for the A record, then when another computer on the network does an nslookup for mydomain.local, bind of course just returns the loopback ip (127.0.0.1) -- not the IP of the server.
Is there to way to tell it to just return the network IP address for the server itself, as defined in /etc/network/interfaces?
© Server Fault or respective owner