Link to home
Start Free TrialLog in
Avatar of duncanb7
duncanb7

asked on

DNS tool check for my domain

Dear Expert

I have used dig DNS tool to check the DNS info
and I found the result is always change like this as follows
it display the result between my old IP and new VPS IP
why it is not stable at all, suppose it show the fix result


; <<>> DiG 9.3.2 <<>> e-hftrade.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1854
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;e-hftrade.com. IN A

;; ANSWER SECTION:
e-hftrade.com. 300 IN A 212.1.214.60

;; AUTHORITY SECTION:
e-hftrade.com. 38435 IN NS park1.hosting24.com.
e-hftrade.com. 38435 IN NS park2.hosting24.com.

;; ADDITIONAL SECTION:
park1.hosting24.com. 38435 IN A 212.1.214.60
park2.hosting24.com. 38435 IN A 212.1.214.60

;; Query time: 268 msec
;; SERVER: 218.102.52.81#53(218.102.52.81)
;; WHEN: Fri Mar 22 00:08:11 2013
;; MSG SIZE rcvd: 129


; <<>> DiG 9.3.2 <<>> e-hftrade.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1965
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;e-hftrade.com. IN A

;; ANSWER SECTION:
e-hftrade.com. 14080 IN A 212.1.213.78

;; AUTHORITY SECTION:
e-hftrade.com. 86080 IN NS ns1.e-hftrade.com.
e-hftrade.com. 86080 IN NS ns2.e-hftrade.com.

;; ADDITIONAL SECTION:
ns1.e-hftrade.com. 169954 IN A 212.1.213.78
ns2.e-hftrade.com. 169954 IN A 212.1.213.78

;; Query time: 20 msec
;; SERVER: 218.102.52.81#53(218.102.52.81)
;; WHEN: Fri Mar 22 00:08:14 2013
;; MSG SIZE rcvd: 115
SOLUTION
Avatar of Pyromanci
Pyromanci
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of Jan Bacher
Jan Bacher
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of duncanb7
duncanb7

ASKER

You see no problem becoz your testing pt is not at Hongkong
You might read my site information at US
I am at Hongkong, so the result is not stable at all

I already did ipconfig/flushdns at my home PC window

Duncan
I am testing directly against the registered name servers (ns1 and ns2.e-hftrade.com).
Any expert at Hongkong or Asia, to try dig e-hftrade.com and show its report to us ?
But the e-hftrade.com sometimes, go to park1.hosting24.com
sometimes ns2.e-hftrade.com

You know what I mean unstable to mywebsite
Dear _jesper_,

since it test it at US side, so the DNS is okay
So the DNS propagation delay is too long to HOng Kong
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
How can I know the following dig e-hftrade +trace has issue ?
Which variable is in problem , Please advise
DUncan

; <<>> DiG 9.3.2 <<>> e-hftrae.com +trace
;; global options:  printcmd
.                  280100      IN      NS      i.root-servers.net.
.                  280100      IN      NS      j.root-servers.net.
.                  280100      IN      NS      k.root-servers.net.
.                  280100      IN      NS      l.root-servers.net.
.                  280100      IN      NS      m.root-servers.net.
.                  280100      IN      NS      a.root-servers.net.
.                  280100      IN      NS      b.root-servers.net.
.                  280100      IN      NS      c.root-servers.net.
.                  280100      IN      NS      d.root-servers.net.
.                  280100      IN      NS      e.root-servers.net.
.                  280100      IN      NS      f.root-servers.net.
.                  280100      IN      NS      g.root-servers.net.
.                  280100      IN      NS      h.root-servers.net.
;; Received 512 bytes from 218.102.52.81#53(218.102.52.81) in 21 ms

com.                  172800      IN      NS      k.gtld-servers.net.
com.                  172800      IN      NS      b.gtld-servers.net.
com.                  172800      IN      NS      g.gtld-servers.net.
com.                  172800      IN      NS      j.gtld-servers.net.
com.                  172800      IN      NS      f.gtld-servers.net.
com.                  172800      IN      NS      a.gtld-servers.net.
com.                  172800      IN      NS      l.gtld-servers.net.
com.                  172800      IN      NS      e.gtld-servers.net.
com.                  172800      IN      NS      c.gtld-servers.net.
com.                  172800      IN      NS      d.gtld-servers.net.
com.                  172800      IN      NS      i.gtld-servers.net.
com.                  172800      IN      NS      m.gtld-servers.net.
com.                  172800      IN      NS      h.gtld-servers.net.
;; Received 502 bytes from 192.36.148.17#53(i.root-servers.net) in 24 ms

com.                  900      IN      SOA      a.gtld-servers.net. nstld.verisign-grs.com. 1363887681 1800 900 604800 86400
;; Received 106 bytes from 192.52.178.30#53(k.gtld-servers.net) in 340 ms
sorry wrong report it  shoude dig e-hftrade.com +trace , typing mistake
would you please post the output from the above (corrected) command?
I queried all of the gtld servers and they all report ns1/ns2.e-hftrade.com as the authoritative name servers.
I am using xampp and apache on my WIndow 7 that should not affect my
dig DNS tool usage, Right  ?
And the report is there for correct e-hftrade.com


; <<>> DiG 9.3.2 <<>> e-hftrade.com +trace
;; global options:  printcmd
.                  458170      IN      NS      a.root-servers.net.
.                  458170      IN      NS      b.root-servers.net.
.                  458170      IN      NS      c.root-servers.net.
.                  458170      IN      NS      d.root-servers.net.
.                  458170      IN      NS      e.root-servers.net.
.                  458170      IN      NS      f.root-servers.net.
.                  458170      IN      NS      g.root-servers.net.
.                  458170      IN      NS      h.root-servers.net.
.                  458170      IN      NS      i.root-servers.net.
.                  458170      IN      NS      j.root-servers.net.
.                  458170      IN      NS      k.root-servers.net.
.                  458170      IN      NS      l.root-servers.net.
.                  458170      IN      NS      m.root-servers.net.
;; Received 512 bytes from 218.102.52.81#53(218.102.52.81) in 26 ms

com.                  172800      IN      NS      a.gtld-servers.net.
com.                  172800      IN      NS      b.gtld-servers.net.
com.                  172800      IN      NS      c.gtld-servers.net.
com.                  172800      IN      NS      d.gtld-servers.net.
com.                  172800      IN      NS      e.gtld-servers.net.
com.                  172800      IN      NS      f.gtld-servers.net.
com.                  172800      IN      NS      g.gtld-servers.net.
com.                  172800      IN      NS      h.gtld-servers.net.
com.                  172800      IN      NS      i.gtld-servers.net.
com.                  172800      IN      NS      j.gtld-servers.net.
com.                  172800      IN      NS      k.gtld-servers.net.
com.                  172800      IN      NS      l.gtld-servers.net.
com.                  172800      IN      NS      m.gtld-servers.net.
;; Received 503 bytes from 198.41.0.4#53(a.root-servers.net) in 27 ms

e-hftrade.com.            172800      IN      NS      ns1.e-hftrade.com.
e-hftrade.com.            172800      IN      NS      ns2.e-hftrade.com.
;; Received 99 bytes from 192.5.6.30#53(a.gtld-servers.net) in 258 ms

e-hftrade.com.            300      IN      A      212.1.214.60
.                  86400      IN      NS      localhost.
;; Received 113 bytes from 212.1.214.60#53(ns1.e-hftrade.com) in 242 ms
Why I use dig e-hftrade.com +trace, the result is much stable
but when I use dig e-hftrade.com, the result is unstable as  follow attached
and my website is unstable on Firefox, sometimes, go to ns1.e-hftra.decom
and sometimes, go to  park1.hosting24.com, WHy ?



==========================
; <<>> DiG 9.3.2 <<>> e-hftrade.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1854
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;e-hftrade.com. IN A

;; ANSWER SECTION:
e-hftrade.com. 300 IN A 212.1.214.60

;; AUTHORITY SECTION:
e-hftrade.com. 38435 IN NS park1.hosting24.com.
e-hftrade.com. 38435 IN NS park2.hosting24.com.

;; ADDITIONAL SECTION:
park1.hosting24.com. 38435 IN A 212.1.214.60
park2.hosting24.com. 38435 IN A 212.1.214.60

;; Query time: 268 msec
;; SERVER: 218.102.52.81#53(218.102.52.81)
;; WHEN: Fri Mar 22 00:08:11 2013
;; MSG SIZE rcvd: 129
When you do a trace, you're going all the way up the root and then back down.

Without a trace, you are hitting [some] local DNS cache that has the incorrect info.
Do  you have your hosts file configured (you shouldn't).
hosts file at my VPS server, Right ?
At my VPS hosts file at /etc/

127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
212.1.213.78 vps.e-hftrade.com  vps localhost localhost4.localdomain4 localhost4 cpanel-x64.vps.me cpanel-x64 localhost.localdomain
::1            localhost localhost.localdomain localhost6 localhost6.localdomain6
Without a trace, you are hitting [some] local DNS cache that has the incorrect info.

local DNS, you mean at my home PC window, but I already did ipconfig/flushdns clear up
WHy, you said that ?
but my website is still unstable, sometime works somstime not
But dig with trace or no trace, my website is still unstable, sometime works somstime not

Probably it is DNS propagation issue, RIght ?

How can I it is completed the who DNS progagation around the world, what tools or website
I can check it out

Please advise
Duncan
don't put the "localhost" stuff on the same line as the other IPs.

127.0.0.1         localhost.localdomain        localhost
212.1.212.78   vps.e-hftrade.com              vps

Also, what do you have in /etc/resolv.conf?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
it's just not an accurate representation.

Why are you not using your own name server? (no dot in front of the keyword "nameserver").
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
212.1.213.78 vps.e-hftrade.com  vps localhost localhost4.localdomain4 localhost4 cpanel-x64.vps.me cpanel-x64 localhost.localdomain
::1            localhost localhost.localdomain localhost6 localhost6.localdomain6

But  we should delete the cpanel stuff, right ?

How about this change as follows, Is it okay ?

======================
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
212.1.213.78 vps.e-hftrade.com  vps  cpanel-x64.vps.me cpanel-x64 localhost.localdomain
::1            localhost localhost.localdomain localhost6 localhost6.localdomain6
Only use the IPv6 representation with IPv6 localhosts.  

::1   localhost6 localhost6.localdomain6

Modify your /etc/resolv.conf to use your name servers.
Yes it is, just typing mistake
nameserver 8.8.8.8
why not the name server for e-hftrade.com (ns1 and ns2)?
Is it correct to the modification, RIght ?
hosts
=====
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
212.1.213.78 vps.e-hftrade.com  vps  cpanel-x64.vps.me cpanel-x64
::1    localhost6 localhost6.localdomain6

resolv.conf
==========
nameserver:ns1.e-hftrade.com ns2.e-hftrade.com
Is it correct to the modification, RIght ?
hosts
=====
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
212.1.213.78 vps.e-hftrade.com  vps  cpanel-x64.vps.me cpanel-x64
::1    localhost6 localhost6.localdomain6

resolv.conf
==========
nameserver ns1.e-hftrade.com ns2.e-hftrade.com
well, i put them one to each line:

nameserver 212.1.213.78

(and that's it since ns1 and ns2 resolv to the same machine).  It would be recommended so have someone on another network provide secondary DNS for you (you would update both your registrar and your zone).
And then go to my hosting acocunt

do reboot and startup to my VPS acount agin RIght ?
Do I need to wait for 24 hour for DNS change ?
no, it's immediate and no reboot.
but still NOT  stable, at one computer after ipcofig/flushdns, it will
report 212.1.214.60 by ping not 212.1.213.78
on that machine what is the nameserver used?
the name server queried will show up at the end of a dig and nslookup.
I get WHM account, could I use it for DNS check ?
on the PC that you did an "ipconfig /flushdns", go to a command prompt and type "nslookup".  what is the name server being used?  an ipconfig should also give you that information.
nslookup e-hftrad.ecom will report 212.1.214.60
but sometimes, it will report 212.1.213.78

that is why I always it is not stable
When I try it again , it just show sometimes, 212.1.214.60 soemtimes 212.1.213.78
please do an "ipconfig" and tell me the name servers configured.  it sounds like one of the servers is reporting stale data.
Windows IP Configuration





Ethernet adapter ¿¿¿¿:



        Connection-specific DNS Suffix  . :

        IP Address. . . . . . . . . . . . : 192.168.0.2

        Subnet Mask . . . . . . . . . . . : 255.255.255.0

        Default Gateway . . . . . . . . . :



Ethernet adapter ¿¿¿¿ 2:



        Media State . . . . . . . . . . . : Media disconnected



PPP adapter netvigator:



        Connection-specific DNS Suffix  . :

        IP Address. . . . . . . . . . . . : 219.77.5.125

        Subnet Mask . . . . . . . . . . . : 255.255.255.255

        Default Gateway . . . . . . . . . : 219.77.5.125
Why you ask ipconfig ?
just show my ISP information only
So it might be cached issue on my window browser ?
So, either your browser has cached old data and needs to be restarted, your pc has cached old data (and DNS needs to be flushed) or/and your ISP has cached old data and you keep receiving that stale data.  

Everything that I can see looks good.
So , no final solution to my issue ?
THanks for all of your reply
THe roots cause is DNS longer delay about 48 hours

now my website is stable