svennd
By:
svennd

Setup of domainname not correct DNS ?

June 20, 2015 745 views
DNS DigitalOcean CentOS

Hey All,

I changed to DO but since our domain already has a DNS server I don't think I need to use DO's DNS. However locally it doesn't work, and I would ask you expert whats going wrong.

Seems : juridischforum.be works, but www.juridischforum.be is giving ERRNAMENOT_RESOLVED

[root@juridischforum ~]# dig juridischforum.be NS

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.3 <<>> juridischforum.be NS
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38003
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;juridischforum.be.             IN      NS

;; ANSWER SECTION:
juridischforum.be.      5819    IN      NS      ns1.dot-01.nl.
juridischforum.be.      5819    IN      NS      ns2.dot-01.nl.

;; Query time: 6 msec
;; SERVER: 8.8.4.4#53(8.8.4.4)
;; WHEN: Sat Jun 20 20:05:59 2015
;; MSG SIZE  rcvd: 80

[root@juridischforum ~]# dig juridischforum.be A

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.3 <<>> juridischforum.be A
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46941
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;juridischforum.be.             IN      A

;; ANSWER SECTION:
juridischforum.be.      3654    IN      A       128.199.41.151

;; Query time: 5 msec
;; SERVER: 8.8.4.4#53(8.8.4.4)
;; WHEN: Sat Jun 20 20:06:08 2015
;; MSG SIZE  rcvd: 51

[root@juridischforum ~]# dig www.juridischforum.be A

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.3 <<>> www.juridischforum.be A
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16230
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.juridischforum.be.         IN      A

;; ANSWER SECTION:
www.juridischforum.be.  10229   IN      A       128.199.41.151

;; Query time: 6 msec
;; SERVER: 8.8.4.4#53(8.8.4.4)
;; WHEN: Sat Jun 20 20:06:14 2015
;; MSG SIZE  rcvd: 55

What I setup is :

ftp A   178.18.91.128   
juridischforum.be.  A   128.199.41.151  
localhost   A   127.0.0.1   
mail    A   178.18.91.128   
pop A   178.18.91.128   
smtp    A   178.18.91.128   
www A   128.199.41.151  
juridischforum.be.  NS  ns1.dot-01.nl.  
juridischforum.be.  NS  ns2.dot-01.nl.  
juridischforum.be.  MX  10 mail 
juridischforum.be.  TXT "v=spf1 a mx ip4:178.18.91.128 ~all"

I only changed www (A) & juridischforum.be. (A).

Any tips ?

1 Answer

Thx to the DO support it has been "solved". Seems the fix was to wait :-)

The thing to look for is :
;; ANSWER SECTION:

However local dns was not yet updated.... :)

Have another answer? Share your knowledge.