1

How to add a CNAME for localhost in BIND 9?

view story
linux-howto

http://serverfault.com – I am doing web development and host the local versions of sites on my machine. I have Linux Slackware 14.0 with BIND 9.9.1-P3. In my named.conf I have this: zone "localhost" IN { type master; file "caching-example/localhost.zone"; allow-update { none; }; }; In localhost.zone: $TTL 86400 $ORIGIN localhost. @ 1D IN SOA @ root ( 56 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum 1D IN NS @ 1 (HowTos)