Share via


Dnslint Syntax

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 Imagednslint/ddomain_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]

Parameters

  • /d domain
    Specifies the domain to test. This is a required parameter.
  • /ad
    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.
  • /v
    Turns on verbose output.
  • /r report_name
    Specifies a name for the DNSLint report file. The default report name is DNSLint Report.htm.
  • Note

    • 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.
  • /y
    Overwrites any existing report file without prompting the user.
  • /no_open
    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.
  • /c SMTP|POP|IMAP
    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.
  • /t
    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.)
  • /test_tcp
    Used to test TCP port 53 as well as UDP port 53. Unless this parameter is specified, DNSLint test the UDP port only.

Notes

  • 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 10.193.36.201

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 10.193.36.201 /d labs.fourthcoffee.com

See Also

Concepts

Dnslint Overview
Dnslint Remarks
Dnslint Examples
Alphabetical List of Tools
Spcheck Overview
Nltest Overview
Netdom Overview
Netdiag Overview
Netcap Overview
Httpcfg Overview
Dnscmd Overview
Dhcploc Overview
Dcdiag Overview
Browstat Overview
Xcacls Overview
Sidwkr.dll
Sidwalker Security Administration Tools
Sidwalk Overview
Showaccs Overview
Sdcheck Overview
Ktpass Overview
Ksetup Overview
Getsid Overview
Addiag.exe