Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all-nameservers flag cannot fetch DNS records from all nameservers #352

Open
Junzhe-Suen opened this issue Jan 5, 2024 · 0 comments
Open
Assignees
Milestone

Comments

@Junzhe-Suen
Copy link

I want to use the --all-nameservers flag to iteratively query the A record of the domain name dumalinao.gov.ph., so my command is:
echo "dumalinao.gov.ph." | ./zdns a --iterative --all-nameservers

{"altered_name":"dumalinao.gov.ph","data":{"results":[{"nameserver":"ns2.servconfig.com","result":{"answers":[{"answer":"74.124.213.192","class":"IN","name":"dumalinao.gov.ph","ttl":900,"type":"A"}],"protocol":"udp","resolver":"70.39.146.236:53"},"status":"NOERROR"},{"nameserver":"ns1.servconfig.com","result":{"answers":[{"answer":"74.124.213.192","class":"IN","name":"dumalinao.gov.ph","ttl":900,"type":"A"}],"protocol":"","resolver":""},"status":"NOERROR"}]},"name":"dumalinao.gov.ph.","status":"NOERROR","timestamp":"2024-01-05T08:38:26Z"}

I can see the results returned by the two nameservers: ns1.servconfig.com and ns2.servconfig.com.
However, dumalinao.gov.ph. not only has these two nameservers, it also has ns1.inmotionhosting.com. and ns2.inmotionhosting.com.

dumalinao.gov.ph.      86400   IN      NS      ns2.servconfig.com.
dumalinao.gov.ph.       86400   IN      NS      ns1.servconfig.com.
;; Received 123 bytes from 52.230.26.107#53(ns1.gov.ph) in 245 ms

dumalinao.gov.ph.       14400   IN      NS      ns1.inmotionhosting.com.
dumalinao.gov.ph.       14400   IN      NS      ns2.inmotionhosting.com.
;; Received 160 bytes from 216.194.168.112#53(ns1.servconfig.com) in 59 ms

I think this is an issue about parent-child nameserver inconsistency. So how to change the code to query these four nameservers?

@zakird zakird added this to the Version 1.2 milestone Feb 19, 2024
@zakird zakird modified the milestones: Version 2.2, Version 2.0 Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants