I have some DNS issues and I am trying to figure out if this is a correct I should get when I run this on VPS
getent hosts test.com
69.xx.xx.xxx server.test.com server www.test.com www test.com test testuser
for other sites the answer looks like this
getent hosts justhost.com
74.220.195.132 justhost.com
Are the first result ok? where are the values taken from?
Update: If it helps
nslookup test.com 127.0.0.1 Server: 127.0.0.1 Address: 127.0.0.1#53 server can't find test.com: NXDOMAIN
dig @localhost test.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 56197 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION: ;test.com. IN A
;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Tue Feb 24 14:32:24 2015 ;; MSG SIZE rcvd: 41
Pinging the ns1 gives me the correct server ip Pinging the domain name gives me the old server ip Is this usual?