BIND DNS
BIND DNS
I have an issue with my router not supporting hairpinning or NAT loopback. Therefore, my domain name refuses connection locally. In fact, 127.0.0.1 or “localhost” from a client fails to work as well. My /etc/hosts file is setup with this info. I was thinking about setting up Bind DNS to overcome this issue but my dns server seems to not connecting to the client (the router). How do I go about diagnosing why?
Re: BIND DNS
you can use dnsmasq, it honors /etc/hosts and you can use address=/yoursite.com/1.2.3.4 at dnsmasq.conf
you can set your dnsmasq IP at bind forwarders
you can set your dnsmasq IP at bind forwarders
Re: BIND DNS
Great advise. I instead got dnsmasq working to resolve my website via LAN in place of NAT loopback support on the router side.