Unsolved Linux Dig Finding cname records
-
Okay so this may be a stupid question (I'm sure many of my questions are).
Shouldn't
dig +nocmd domain.com cname +noall +answer
give me all alias for my domain?I'm getting no response back at all, just a blank return.
-
@dustinb3403 said in Linux Dig Finding cname records:
Okay so this may be a stupid question (I'm sure many of my questions are).
Shouldn't
dig +nocmd domain.com cname +noall +answer
give me all alias for my domain?I'm getting no response back at all, just a blank return.
It doesn't work that way. You need to perform zone transfer to get all cname records. So unless you admin DNS server you try to query, you're sol.
-
-
@marcinozga said in Linux Dig Finding cname records:
It doesn't work that way. You need to perform zone transfer to get all cname records. So unless you admin DNS server you try to query, you're sol.
Yeah I'm the DNS admin, was hoping for a simple enough way to look these records up without having to use the damn web site.
I'll look into what you've suggested.
-
@dustinb3403 Are you an admin of the DNS server itself? If so, maybe
grep
your BIND zone file for CNAME records or useGet-DNSServerResourceRecord
on your Windows DNS server. -
@eddiejennings said in Linux Dig Finding cname records:
@dustinb3403 Are you an admin of the DNS server itself? If so, maybe
grep
your BIND zone file for CNAME records or useGet-DNSServerResourceRecord
on your Windows DNS server.I'm am, but this is public dns records I was hoping to pull.
-
@dustinb3403 said in Linux Dig Finding cname records:
@eddiejennings said in Linux Dig Finding cname records:
@dustinb3403 Are you an admin of the DNS server itself? If so, maybe
grep
your BIND zone file for CNAME records or useGet-DNSServerResourceRecord
on your Windows DNS server.I'm am, but this is public dns records I was hoping to pull.
Not happening. I should have been more specific, you need to host DNS records for that domain on your own DNS server.
-
@marcinozga said in Linux Dig Finding cname records:
@dustinb3403 said in Linux Dig Finding cname records:
@eddiejennings said in Linux Dig Finding cname records:
@dustinb3403 Are you an admin of the DNS server itself? If so, maybe
grep
your BIND zone file for CNAME records or useGet-DNSServerResourceRecord
on your Windows DNS server.I'm am, but this is public dns records I was hoping to pull.
Not happening. I should have been more specific, you need to host DNS records for that domain on your own DNS server.
Yeah that is what I figured.
-
@dustinb3403 said in Linux Dig Finding cname records:
I'm am, but this is public dns records I was hoping to pull.
If you're the administrator of the DNS server itself, then I would think you could just log into the server and get the desired zone records.
-
@eddiejennings said in Linux Dig Finding cname records:
@dustinb3403 said in Linux Dig Finding cname records:
I'm am, but this is public dns records I was hoping to pull.
If you're the administrator of the DNS server itself, then I would think you could just log into the server and get the desired zone records.
Yes I can, but I don't want to have to use the web interface do this (as it's an irritating dns provider)
-
@dustinb3403 said in Linux Dig Finding cname records:
@eddiejennings said in Linux Dig Finding cname records:
@dustinb3403 said in Linux Dig Finding cname records:
I'm am, but this is public dns records I was hoping to pull.
If you're the administrator of the DNS server itself, then I would think you could just log into the server and get the desired zone records.
Yes I can, but I don't want to have to use the web interface do this (as it's an irritating dns provider)
I see. I thought you were talking about some VM that's a DNS server. I'm thinking "dude, just ssh in and get your records." :P.
-
API and a script