How can I check that my domain is resolved in correct IP address?

Created:

2016-11-16 12:59:18 UTC

Modified:

2017-04-24 12:01:08 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How can I check that my domain is resolved in correct IP address?

Applicable to:

  • Plesk

Question

How can I check that my domain is resolved in correct IP address?

Resolution

In order to check IP address of the domain, you can use utilities like: dig or nslookup

Dig (example):

[root@server ~]# dig example.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.5 <<>> example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41515
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 4

;; QUESTION SECTION:
;example.com. IN A

;; ANSWER SECTION:
example.com. 15270 IN A 93.184.216.119

;; AUTHORITY SECTION:
example.com. 31241 IN NS b.iana-servers.net.
example.com. 31241 IN NS a.iana-servers.net.

;; ADDITIONAL SECTION:
b.iana-servers.net. 622 IN A 199.43.133.53
b.iana-servers.net. 622 IN AAAA 2001:500:8d::53
a.iana-servers.net. 622 IN A 199.43.132.53
a.iana-servers.net. 622 IN AAAA 2001:500:8c::53

;; Query time: 1 msec
;; SERVER: 192.168.55.1#53(192.168.55.1)
;; WHEN: Sat Dec 7 19:05:19 2013
;; MSG SIZE rcvd: 181

Additional information about dig utility you can find in manual pages on linux server with command: man dig

nslookup (example):

[root@server ~]# nslookup example.com
Server: 192.168.55.1
Address: 192.168.55.1#53

Non-authoritative answer:
Name: example.com
Address: 93.184.216.119

Additional information about nslookup utility you can find in manual pages on linux server with command: man nslookup or in Microsoft knowledge base article Using NSlookup.exe .

Have more questions? Submit a request
Please sign in to leave a comment.