[Unbound-users] Replacing /etc/hosts aliases with local-data: directive
stevejenkins at gmail.com
Thu Mar 24 23:53:50 UTC 2011
On Thu, Mar 24, 2011 at 3:32 PM, Arni Birgisson <arnib at menandmice.com> wrote:
> You could simply edit your /etc/resolv.conf, and add a domain or search
> directive, on each of your servers
> # cat /etc/resolv.conf
> search local
> nameserver 127.0.0.1
> # cat /etc/unbound.conf | grep "\.local"
> local-data: "testing.local IN A 127.0.0.5"
> # ping testing
> PING testing.local (127.0.0.5) 56(84) bytes of data.
> 64 bytes from 127.0.0.5: icmp_seq=1 ttl=64 time=0.055 ms
Thanks, Arni. Worked like a charm!
More information about the Unbound-users