When you have bind DNS running on the system, do you still need to run the entries for the localhost records to /etc/hosts?
My Bind configuration looks something like this (omitted some info. not relevent like retry, expire, minimum, etc...):
zone file:
@ IN SOA mail.hello.com. root.localhost. (
.....
.....
mail A 192.168.1.10
web A 192.168.1.10
www A 192.168.1.10
search A 192.168.1.20
forum A 192.168.1.30
ftp CNAME mail
/etc/resolv.conf:
search hello.com
nameserver 127.0.0.1
/etc/hosts:
127.0.0.1 locahost
127.0.1.1 mail
** do I need to add below (localhost entries which have been added to the zone file already) to /etc/hosts?:
192.168.1.10 mail.hello.com mail
192.168.1.10 web.hello.com web
192.168.1.10
www.hello.com www
192.168.1.10 ftp.hello.com ftp