google-cloud-dns

Unable to resolve DNS for server after setting up a domain using Cloud DNS


I followed the steps in the tutorial: https://cloud.google.com/dns/docs/tutorials/create-domain-tutorial

However when I get to the verify my setup, I don't see my servers IP, instead I see this:

$ dig -t NS dandyrobot.com.

; <<>> DiG 9.18.1-1ubuntu1.2-Ubuntu <<>> -t NS dandyrobot.com.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 56042
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;dandyrobot.com.            IN  NS

;; Query time: 2339 msec
;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)
;; WHEN: Tue Feb 07 11:00:42 EST 2023
;; MSG SIZE  rcvd: 43

Are there any additional steps I can take to narrow down what the problem is?


Solution

  • Based on our conversation what seems to be the problem is that the configuration of custom nameserver under Google Domains. Then we use this link as a guidance to resolve this concern.