I'm trying to setup ispconfig3 as an internal DNS server resolving only server/pc names. I created an DNS zone called mydomain.local and created about five 5 A records. hostname: server1 IP-address: 192.168.3.2 hostname: server2 Ip-address: 192.168.3.3 . . . If I try to configure one of my PC desktop on the network and set the primary DNS server to the ispconfig3 box, I can't resolve/ping by name: [root@star]# ping server1 ping: unknown host server1 Am I missing something?
You have to use: ping server1.mydomain.local and not just server1 as the zone is mydomain.local Please try this command on the server: dig @localhost server1.mydomain.local also make sure that your zone ends with a dot: mydomain.local.
[root@star]# ping server1 i that only works if you put Code: search mydomain.local in your /etc/resolv.conf
DNS was working all this time because I could always ping by the fqdn. I wanted a way just to ping my system name. Putting in "search mydomain.local" in the resolv.conf file did the trick. thanks guys.