Alertra Script Language 1.9
nameserver
Directly connects to one or more nameservers to insure they are working properly.
You must specify one of 'soa', 'a', or 'mx' in the operation parameter.
usage: nameserver [operation] [domain] [server]
parameters:
req | name | type | description |
---|---|---|---|
Y | operation | keyword | Available operations are:
|
Y | domain | expression | The domain to query the nameserver(s) with. |
N | server | expression | The domain name or IP of the nameserver to check when not doing an soa check. |
examples
nameserver soa "mydomain.com"
Contacts the zone authority to get the Start Of Authority record for the domain "mydomain.com" command. The primary and any backup nameservers in the SOA will be checked to insure they are working properly.
nameserver a "mydomain.com" "ns1.mydomain.com"
Connects to the nameserver "ns1.mydomain.com" directly and requests that it resolve the domain "mydomain.com"
Alertra Script Language: Language Reference