Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There is a site, it needs to move to another server. It's copied there, works well. Now I need to change my A-record. And then I learn that for some reasons we do not have access to NS admin end.

We have another DNS and we CAN switch domain to it, but we don't know all the settings, there was much of them (MX, CNAME, etc.) so I can't just create A-record and let it go. Is there a way to read current settings of the NS remotely? I mean, I can get A-record (IP where the domain is pointing at), so maybe I can get all (or at least some) others?

share|improve this question
up vote 1 down vote accepted

You can use dig to get all of the relevant DNS information pointing at a specific host. You need to know what the authoritative name server for that hostname is, and run: dig ANY.

Replace with the old nameserver and with the hostname you're interested in.

(dig is part of the bind package, usually the clients are in a separate package, e.g.

Example Output

; <<>> DiG 9.6.0-APPLE-P2 <<>> ANY
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26934
;; flags: qr aa rd; QUERY: 1, ANSWER: 14, AUTHORITY: 0, ADDITIONAL: 7
;; WARNING: recursion requested but not available

;         IN  ANY

;; ANSWER SECTION:      1800    IN  SOA 2012042707 3600 300 1814400 600      3600    IN  A      3600    IN  A      3600    IN  A      1800    IN  MX  1      1800    IN  MX  1      1800    IN  MX  1      172800  IN  NS      172800  IN  NS      172800  IN  NS      172800  IN  NS      172800  IN  NS      172800  IN  NS      172800  IN  NS

;; ADDITIONAL SECTION:      172800  IN  A      172800  IN  A      172800  IN  A      172800  IN  A      172800  IN  A      172800  IN  A      172800  IN  A

;; Query time: 19 msec
;; WHEN: Sat Apr 28 19:27:50 2012
;; MSG SIZE  rcvd: 449
share|improve this answer

can you at least download the zone files? that is actually all you need. if you cannot even do that, you would have to use dig or another client to go through all the records that you know to find information, that would be painful.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.