How to Retrieve Subdomains Registered with DNS

Asked 2 years ago, Updated 2 years ago, 117 views

Is it possible to retrieve all subdomains registered with DNS?

$command example.com
    =>example.com A 111.111.111.111
    =>hoge.example.com A 111.111.111.111
    =>huga.example.com A 111.111.111.111

I'm looking forward to something like this.

bash unix dns

2022-09-30 21:02

1 Answers

Zone transfer must be allowed to obtain all records registered with the DNS content server.Typically, you allow it based on the IP address of the source.You cannot retrieve it unless you allow it.

US>If allowed, you can use the ISC BIND host(1) command for zone forwarding.If the domain subdomain is delegated to another NS, you must also contact the NS to which you are delegated separately.

$host-taxfr example.com ns.example.com


2022-09-30 21:02

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.