Using DNS Query Tools for Proper Configuration Checks

Using DNS query tools helps verify correct DNS configurations, ensuring seamless service and functionality.

·3 min read·View Oracle Docs

DNS query tools are essential for verifying that your Domain Name System (DNS) is configured correctly. By utilizing online tools like dig or local options such as nslookup, you can perform DNS queries and check their responses to troubleshoot issues.

How to Use DNS Query Tools

You can use several DNS query options to validate your DNS setup:

  • Online Tools: There are many online services available for querying DNS servers.
  • Command Line Tools: If you're using Windows, the built-in nslookup utility is available. For more robust features, the dig command is widely used on UNIX-based systems.

Example Queries

Below are examples of dig commands used to check DNS configurations.

Web Hosting Configuration Example

This example shows the response from a dig command run on www.correct-netsuite-dns.com for web hosting verification:

none
1$ dig www.correct-netsuite-dns.com
2
3; <<>> DiG 9.10.6 <<>> www.correct-netsuite-dns.com
4;; global options: +cmd
5;; Got answer:
6;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42979
7;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1
8
9;; OPT PSEUDOSECTION:
10; EDNS: version: 0, flags:; udp: 1232
11;; QUESTION SECTION:
12;www.correct-netsuite-dns.com. IN A
13
14;; ANSWER SECTION:
15www.correct-netsuite-dns.com. 3600 IN CNAME www.correct-netsuite-dns.com.hosting.netsuite.com.
16www.correct-netsuite-dns.com.hosting.netsuite.com. 300 IN CNAME www.correct-netsuite-dns.com.e99999.c12345567.hosting.netsuite.com.edgekey.net.
17www.correct-netsuite-dns.com.e99999.c12345567.hosting.netsuite.com.edgekey.net. 10800 IN CNAME e123456.x.akamaiedge.net.
18e123456.x.akamaiedge.net. 20 IN A 2.16.153.216
19e123456.x.akamaiedge.net. 20 IN A 2.16.153.214
20
21;; Query time: 70 msec

In this response, you can observe that the CNAME records resolve correctly, indicating that web hosting is appropriately configured.

DNS Verification Example

The following example shows a dig command run for a DNS verification check:

none
1$ dig _acme-challenge.www.correct-netsuite-dns.com
2
3; <<>> DiG 9.10.6 <<>> _acme-challenge.www.correct-netsuite-dns.com
4;; global options: +cmd
5;; Got answer:
6;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 39090
7;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
8
9;; OPT PSEUDOSECTION:
10; EDNS: version: 0, flags:; udp: 1232
11;; QUESTION SECTION:
12;_acme-challenge.www.correct-netsuite-dns.com. IN A
13
14;; ANSWER SECTION:
15_acme-challenge.www.correct-netsuite-dns.com. 3600 IN CNAME www.correct-netsuite-dns.com.hosting-verify.netsuite.com.
16
17;; AUTHORITY SECTION:
18hosting-verify.netsuite.com. 300 IN SOA a1-124.akam.net. dnsadmin.nsgbu.internal. 76 3600 1800 604800 1800
19
20;; Query time: 72 msec
21;; SERVER: 2606:b400:300:d:feed::1#53(2606:b400:300:d:feed::1)
22;; WHEN: Mon Sep 30 10:44:16 CEST 2024
23;; MSG SIZE rcvd: 226

In this response, the tools confirm the presence of the _acme-challenge CNAME, indicating successful validation for secure connections.

Conclusion

Using DNS query tools can efficiently verify the DNS setup for both web hosting and security verification. Regular checks can prevent potential downtimes and ensure proper routing of data to your hosted services.

Key Tips

  • Utilize both online and local tools for comprehensive checks.
  • Regularly conduct DNS verification to maintain service reliability.
  • Understand the responses of the tools to make informed adjustments when necessary.

Source: This article is based on Oracle's official NetSuite documentation.

Frequently Asked Questions (4)

Can I use DNS query tools like 'dig' on Windows systems?
While 'dig' is typically used on UNIX-based systems, Windows users can utilize the 'nslookup' tool for DNS querying. 'Nslookup' is built-in on Windows and can perform similar DNS verification tasks.
What should I look for in the response to verify a correct DNS configuration for web hosting?
You should check that the CNAME records resolve correctly in the 'ANSWER SECTION' of the response. This indicates that the web hosting configuration is set up properly.
How do DNS query tools assist with DNS security verification when using NetSuite?
DNS query tools can be used to confirm DNS records related to security, such as the presence of the '_acme-challenge' CNAME, which is important for validating secure connections.
Do I need both online and local DNS query tools for comprehensive configuration checks?
Yes, using both online and local DNS query tools can provide a more comprehensive overview of your DNS setup, helping you identify any inconsistencies or errors effectively.
Source: Using DNS Query Tools Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in Administration

View all Administration articles →