Importance of Proper DNS Setup

For your Commerce website to operate correctly, NetSuite needs to establish and retain control over your domain's DNS.

This is especially true for domains secured with an automatic certificate. Setting the DNS verification (ACME challenge) CNAME to point to a NetSuite domain lets NetSuite prove ownership of the domain to the Certification Authority (CA) on your behalf. It also lets NetSuite obtain new domain certificates or renew the existing one.

NetSuite servers and databases hold the data and serve the web content hosted on your domain. Delegating your domain with a CNAME that points to a NetSuite hosting DNS record lets NetSuite host your domain and serve web content when accessed by your customers.

NetSuite uses its own Content Delivery Network (CDN) and, when you have a proper DNS setup, you can fully benefit from all of its features, including, but not limited to:

The risks posed by improper DNS setup, including using a third-party CDN, include:

Using DNS Query Tools

To check that your DNS is set up properly, you can use online dig or server lookup tools to query DNS servers. If you are using Windows, it comes with a nslookup tool that can also be used to query DNS servers.

The following example shows the response from a dig command run on www.correct-netsuite-dns.com for web hosting. In this example, you can see both the CNAME being translated and the hits to Akamai. Therefore, we know that the CNAME for web hosting is set up correctly.

            $ dig www.correct-netsuite-dns.com
 
; <<>> DiG 9.10.6 <<>> www.correct-netsuite-dns.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42979
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1
 
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;www.correct-netsuite-dns.com.      IN  A
 
;; ANSWER SECTION:
www.correct-netsuite-dns.com.   3600    IN  CNAME   www.correct-netsuite-dns.com.hosting.netsuite.com.
www.correct-netsuite-dns.com.hosting.netsuite.com. 300 IN CNAME www.correct-netsuite-dns.com.e99999.c12345567.hosting.netsuite.com.edgekey.net.
www.correct-netsuite-dns.com.e99999.c12345567.hosting.netsuite.com.edgekey.net. 10800 IN CNAME e123456.x.akamaiedge.net.
e123456.x.akamaiedge.net. 20    IN  A   2.16.153.216
e123456.x.akamaiedge.net. 20    IN  A   2.16.153.214
 
;; Query time: 70 msec 

          

The following example shows the response from a dig command run on www.correct-netsuite-dns.com for DNS verification. In this example, you can see both the CNAME being translated and the hits to the ACME challenge. Therefore, we know that the CNAME for DNS verification is set up correctly.

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

          

General Notices