Domains resolving to public IP instead of local IP with BIND
1
I managed to setup bind on my local network in order to resolve domains to the local IP of my server instead of my public IP. However it only works on other clients in the network, but not from the server itself. Here is my config : /etc/bind/db.mydomain.be $ORIGIN mydomain.be. $TTL 3600 @ IN SOA ns1.local. me.ff. ( 5 ; Serial 1h ; Refresh 30m ; Retry 7d ; Expire 15m ) ; Negative Cache TTL ; @ IN NS ns1.local. @ IN A 192.168.1.105 * IN A 192.168.1.105 /etc/bind/named.conf.options options { directory "/var/cache/bind"; recursion yes; # enables resursive queries listen-on { 192.168.1.105;