• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question DNS, "dig" doesn't display CNAME's

Simon123

New Pleskian
Hi all,

Doing a dig on a domain hosted on our Plesk server doesn't show CNAME records, results below, the domain name has been mangled..

How do I get a dump of DNS including any CNAME's :)






[slackware]/root: dig oraboxtra.com any

; <<>> DiG 9.16.16 <<>> oraboxtra.com any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34748
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 4

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
; COOKIE: 0ab05b9be3d8dac8 (echoed)
;; QUESTION SECTION:
;oraboxtra.com. IN ANY

;; ANSWER SECTION:
oraboxtra.com. 41567 IN A 1.2.3.4
oraboxtra.com. 84849 IN NS ns1.domain.com.
oraboxtra.com. 84849 IN NS ns2.domain.com.
oraboxtra.com. 84849 IN SOA ns1.domain.com. domains.domain.com. 162730885 10800 3600 604800 10800
oraboxtra.com. 41662 IN MX 10 mail.oraboxtra.com.
oraboxtra.com. 84849 IN TXT "v=spf1 +a +mx ip4:1.2.3.4 ?all"

;; ADDITIONAL SECTION:
ns1.domain.com. 3893 IN A 1.2.3.4
ns2.domain.com. 3893 IN A 1.2.3.4
mail.oraboxtra.com. 41662 IN A 1.2.3.4
 
That's normal. You can't use any to list every single record

Consider using an AXFR zone transfer query to do that. ANY isn't an active standard and may not be supported by every single NS (RFC 8482)
 
Hi John, thanks for the reply, bit of Googling gets me two possible commands.. these ran directly on the Plesk server..

[www] host -a -l oraboxtra.com. 1.2.3.4 (1.2.3.4 is internal IP of Plesk server)
Trying "oraboxtra.com"
Using domain server:
Name: 1.2.3.4
Address: 1.2.3.4#53
Aliases:
Host oraboxtra.com not found: 5(REFUSED)
Received 39 bytes from 1.2.3.4#53 in 4 ms
; Transfer failed.

[www] dig -t axfr oraboxtra.com
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.5 <<>> -t axfr oraboxtra.com
;; global options: +cmd
; Transfer failed.

Any idea what I may be missing?
 
Did you specify your IP in the allow transfer section of your DNS server? AXFR needs to be specifically authorized to work.
 
Back
Top