BIND DNS

Issues related to configuring your network
Post Reply
nthomthom
Posts: 16
Joined: 2019/11/24 18:54:48

BIND DNS

Post by nthomthom » 2019/12/15 03:21:28

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?

BShT
Posts: 585
Joined: 2019/10/09 12:31:40

Re: BIND DNS

Post by BShT » 2019/12/17 16:51:16

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

nthomthom
Posts: 16
Joined: 2019/11/24 18:54:48

Re: BIND DNS

Post by nthomthom » 2019/12/20 20:26:10

Great advise. I instead got dnsmasq working to resolve my website via LAN in place of NAT loopback support on the router side.

Post Reply