Giter Club home page Giter Club logo

check_nameservers's People

Contributors

dwt avatar rbu avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

rbu armingruner

check_nameservers's Issues

SOA sync checker does not check all name servers

In the current design, the SOA checker does not query all available name servers. Consider "example.com":

$ dig +short NS example.com
b.iana-servers.net.
a.iana-servers.net.
$ dig +short A a.iana-servers.net.
199.43.132.53
$ dig +short AAAA a.iana-servers.net.
2001:500:8c::53

check_nameservers_are_in_sync_for_zone.py will only run a test asking "dig +short SOA example.com @a.iana-servers.net", and the dig tool decides to use one of the available addresses of the 'a' nameserver. Each symbolic name could even resolve to multiple A or AAAA records.

We could either iterate over these names or convert the tool to the +nssearch mode of dig:

$ dig +nssearch example.com          
SOA sns.dns.icann.org. noc.dns.icann.org. 2014091653 7200 3600 1209600 3600 from server 199.43.132.53 in 245 ms.
SOA sns.dns.icann.org. noc.dns.icann.org. 2014091653 7200 3600 1209600 3600 from server 2001:500:8c::53 in 246 ms.
SOA sns.dns.icann.org. noc.dns.icann.org. 2014091653 7200 3600 1209600 3600 from server 2001:500:8d::53 in 338 ms.
SOA sns.dns.icann.org. noc.dns.icann.org. 2014091653 7200 3600 1209600 3600 from server 199.43.133.53 in 350 ms.

We'd also have to re-think what "number of nameservers" means in this context.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.