Dnslint Syntax

Updated: March 28, 2003

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

DNSLint Syntax

DNSLint uses the following syntax:

Art Image dnslint /d domain_name | /ad | /ql {text_file | autocreate} [/v] [/r report_name] [/y] [/no_open] [/s alternate_DNS_server_ip_address] [/c SMTP|POP|IMAP] [/t] [/test_tcp]


/d domain
Specifies the domain to test. This is a required parameter.

Tests the DNS records used by Active Directory for replication. This is a required parameter. The /s parameter is required with this parameter.

/ql {text_file | autocreate}
Sends DNS queries based on input from a text file containing a list of DNS names. The command dnslint /ql autocreate creates an example textfile. The /ql parameter supports A, PTR, CNAME, SRV, and MX DNS record types. This is a required parameter. The /ql parameter will accept either a text file name or the autocreate option, not both.

Turns on verbose output.

/r report_name
Specifies a name for the DNSLint report file. The default report name is DNSLint Report.htm.

  • DNSLint always appends an .htm extension to the file, even if you specify an extension. For example, if you specify report_name=my_file.rpt, the resulting file will be called my_file.rpt.htm.

Overwrites any existing report file without prompting the user.

Prevents the DNSLint report from opening after it is generated.

/s alternate_DNS_server_ip_address
This parameter supplies an alternate DNS server, forcing DNSLint to bypass InterNIC. This parameter is useful for testing domain structures that are not availible from the InterNIC database.

Used to perform connectivity tests on well-known e-mail ports when e-mail servers are found while inspecting DNS servers. See "Remarks" for more information.

Used to request a plain text file with the same name as the DNSLint report file. (The default filename is DNLint Report.htm, unless the /r parameter is used to specify a different name.)

Used to test TCP port 53 as well as UDP port 53. Unless this parameter is specified, DNSLint test the UDP port only.


  • You must always specify one of the following parameters: /d, /ad, and /ql. However, they cannot be used together.

  • The /c parameter cannot be used with the /ad or /ql parameters.

  • When using the /ad parameter, /s must also be used.

  • The /test_tcp parameter cannot be used with the /ql parameter.

Sample Usage

dnslint /d fourthcoffee.com

dnslint /ad /s

dnslint /ql my_dns_list.txt

dnslint /ql autocreate

dnslint /v /d fourthcoffee.com

dnslint /r newfile /d fourthcoffee.com

dnslint /y /d fourthcoffee.com

dnslint /no_open /d fourthcoffee.com

dnslint /s /d labs.fourthcoffee.com

See Also

Community Additions