How to configure bind9 to route to host's IP
- by Greg
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?