DNS nslookup - how to specify a DNS query for any DNS server?
Hello, I would like to help you with the DNS nslookup command - how to specify a DNS query for any DNS server? Not just asking about that authoritative DNS server. And how do I specify that I want an MX record? I use linux ubuntu. Thanks
Hi,
here is an example of how to use nslookup:
1.) General - ask for A record cloud.up4.cz DNS server dns.up4.cz
Server: dns.up4.cz
Address: 8.8.8.8 # 53
Name: cloud.up4.cz
Address: 1.2.3.4
2.) Specify eg MX - ask for MX record cloud.up4.cz DNS server dns.up4.cz
Server: dns.up4.cz
Address: 8.8.8.8 # 53
cloud.up4.cz mail exchanger = 10 mx10.cloud.up4.cz.
cloud.up4.cz mail exchanger = 0 mx10.cloud.up4.cz.
REPLY
Hi,
here is an example of how to use nslookup:
1.) General - ask for A record cloud.up4.cz DNS server dns.up4.cz
nslookup cloud.up4.cz dns.up4.cz
Server: dns.up4.cz
Address: 8.8.8.8 # 53
Name: cloud.up4.cz
Address: 1.2.3.4
2.) Specify eg MX - ask for MX record cloud.up4.cz DNS server dns.up4.cz
nslookup -type = mx cloud.up4.cz dns.up4.cz
Server: dns.up4.cz
Address: 8.8.8.8 # 53
cloud.up4.cz mail exchanger = 10 mx10.cloud.up4.cz.
cloud.up4.cz mail exchanger = 0 mx10.cloud.up4.cz.