Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DNS: How to Dig thru the right domain name from the TLD?

I'd like to query the DNS records until get the right domain name.

For instance, given www.subdomain.site.com.br, be able to dig from .br until site.com.br.

Which is the most (protocol-speaking) way to achieve that? An recipe using dig/nslookup would be best.

Thanks.

like image 400
aldrinleal Avatar asked Feb 28 '23 21:02

aldrinleal


1 Answers

dig +trace www.subdomain.site.com.br

will show you exactly what happens.

like image 171
David Schmitt Avatar answered Mar 06 '23 23:03

David Schmitt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!