Skip to main content
Commonmark migration
Source Link

###Get specific record-types from specified DNS server with one command

Get specific record-types from specified DNS server with one command

To look up record types other than the default A and AAAA (and CNAME) records returned by nslookup, using the DNS server you specify:

nslookup -q=<record type> <host> <DNS server>

For example, to return MX records for the domain stackexchange.com using DNS server 8.8.4.4 the command would be:

nslookup -q=MX stackexchange.com 8.8.4.4

###Get specific record-types from specified DNS server with one command

To look up record types other than the default A and AAAA (and CNAME) records returned by nslookup, using the DNS server you specify:

nslookup -q=<record type> <host> <DNS server>

For example, to return MX records for the domain stackexchange.com using DNS server 8.8.4.4 the command would be:

nslookup -q=MX stackexchange.com 8.8.4.4

Get specific record-types from specified DNS server with one command

To look up record types other than the default A and AAAA (and CNAME) records returned by nslookup, using the DNS server you specify:

nslookup -q=<record type> <host> <DNS server>

For example, to return MX records for the domain stackexchange.com using DNS server 8.8.4.4 the command would be:

nslookup -q=MX stackexchange.com 8.8.4.4
added 62 characters in body
Source Link
I say Reinstate Monica
  • 26.4k
  • 21
  • 101
  • 135

Here's how to###Get specific record-types from specified DNS server with one command

To look up record types other than the default A and AAAA (and CNAME) records returned by nslookup, using the DNS server you specify:

nslookup -q=<record type> <host> <DNS server>

For example, to return MX records for the domain stackexchange.com using DNS server 8.8.4.4 the command would be:

nslookup -q=MX stackexchange.com 8.8.4.4

Here's how to look up record types other than the default A and AAAA (and CNAME) records returned by nslookup, using the DNS server you specify:

nslookup -q=<record type> <host> <DNS server>

For example, to return MX records for the domain stackexchange.com using DNS server 8.8.4.4 the command would be:

nslookup -q=MX stackexchange.com 8.8.4.4

###Get specific record-types from specified DNS server with one command

To look up record types other than the default A and AAAA (and CNAME) records returned by nslookup, using the DNS server you specify:

nslookup -q=<record type> <host> <DNS server>

For example, to return MX records for the domain stackexchange.com using DNS server 8.8.4.4 the command would be:

nslookup -q=MX stackexchange.com 8.8.4.4
Source Link
I say Reinstate Monica
  • 26.4k
  • 21
  • 101
  • 135

Here's how to look up record types other than the default A and AAAA (and CNAME) records returned by nslookup, using the DNS server you specify:

nslookup -q=<record type> <host> <DNS server>

For example, to return MX records for the domain stackexchange.com using DNS server 8.8.4.4 the command would be:

nslookup -q=MX stackexchange.com 8.8.4.4