Quote:
Originally Posted by T3RM1NVT0R
Do you have multiple entries for this host on your DNS server 10.254.228.226 apart from default A record. Also share the output from nslookup as described below:
1. Run nslookup
2. Once in nslookup prompt type: set debug
3. Type in the hostname and share the output
Also, share the output of dig <hostname>
|
Hi thanks for response
Lookup output
[root@171-SYSLOG ~]# nslookup
> set debug
> 171-xymon
Server: 10.254.228.226
Address: 10.254.228.226#53
------------
QUESTIONS:
171-xymon.fosiul.acc, type = A, class = IN
ANSWERS:
-> 171-xymon.fosiul.acc
internet address = 10.254.228.223
ttl = 0
AUTHORITY RECORDS:
ADDITIONAL RECORDS:
------------
Name: 171-xymon.fosiul.acc
Address: 10.254.228.223
>
dig output :-
[root@171-SYSLOG ~]# dig 171-xymon
; <<>> DiG 9.7.3-P3-RedHat-9.7.3-8.P3.el6 <<>> 171-xymon
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 35381
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;171-xymon. IN A
;; Query time: 0 msec
;; SERVER: 10.254.228.226#53(10.254.228.226)
;; WHEN: Tue Apr 8 21:15:28 2014
;; MSG SIZE rcvd: 27
[root@171-SYSLOG ~]# dig 171-xymon.fosiul.acc
; <<>> DiG 9.7.3-P3-RedHat-9.7.3-8.P3.el6 <<>> 171-xymon.fosiul.acc
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36361
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;171-xymon.fosiul.acc. IN A
;; ANSWER SECTION:
171-xymon.fosiul.acc. 0 IN A 10.254.228.223
;; Query time: 1 msec
;; SERVER: 10.254.228.226#53(10.254.228.226)
;; WHEN: Tue Apr 8 21:12:44 2014
;; MSG SIZE rcvd: 55
[root@171-SYSLOG ~]#
this dns server has 2 IP address
10.254.228.226
10.254.225.45
both can resolve the query .
And, thanks for your help.