Getting the name of responding server(s)
Matus UHLAR - fantomas
uhlar at fantomas.sk
Thu Sep 9 10:33:22 UTC 2021
>>On Tue, Sep 07, 2021 at 10:48:57AM -0400,
>> Matthew Pounsett <matt at conundrum.com> wrote a message of 32 lines which
>> said:
>>> Yeah, you can pretty reliably get the answer in one or two steps by
>>> requesting the NS set for the FQDN. You'll either get your answer, or
>>> get an SOA with the name of the enclosing zone. Second lookup gets
>>> you the NS set for the enclosing zone.
>In message <YTm5xuAtW6fKpSO7 at nic.fr>, Stephane Bortzmeyer
> <bortzmeyer at nic.fr> wrote:
>>Indeed (unless you find a broken resolver that fail to send the SOA).
On 09.09.21 03:20, Ronald F. Guilmette wrote:
>I don't want and don't need SOA records. I want and need only the relevant
>NS records.
server in some cases send the SOA.
>>I was thinking of another issue: if the goal of the OP is to find
>>which domain names are on the same authoritative name servers...
>
>Thank you but no, that was not among my goals.
>
>I just want the names of the final and actual name servers that would /
>should respond to the given query.
dig +trace finds those.
Note that some domains can be horribly broken and different nameservers can
send different NS, or no NS at all but SOA.
>>asking
>>the NS may not be sufficient, if a name server is known by several
>>names (for instance, a.nic.sex and a.nic.sucks are the same
>>machine). So, the OP may have to do a resolution of nameservers' names
>>into IP addresses, as well.
>
>Thank you. I am well and truly aware of that fact that multiple name
>server names may resolve to some single common IP address.
>
>Fortunately, for what I am doing, this fact is not of any relevance.
what exactly is your goal?
--
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
REALITY.SYS corrupted. Press any key to reboot Universe.
More information about the bind-users
mailing list