Checking DNS yone for specified domain

  • Time
  • Show
Clear All
new posts
  • Pedja
    Senior Member
    • Mar 2004
    • 329

    Checking DNS yone for specified domain

    I need to check if specified domain (variable) exists and if it exists I have to read it's DNS zone.

    I dealt with this in various ways, and almost each worked for some time and then stopped.

    Has anyone tried do do something like this? I need it to work on Dathorn server. Domains that are checked are not necessarily hosted on Dathorn.
  • ZYV
    Senior Member
    • Sep 2005
    • 315

    All you need is to combine whois and host -a. There are providers on the Internet that provide a whois API if you don't want to parse the output yourself, but I guess that's paid for.