All pastes #84679 Raw Edit

Untitled

public text v1 · immutable
·published 2006-07-11 06:03 UTC
rendered paste body
So, basically I made some changes to my named file. My hostname changed, so I needed to update it. Plus I didn't have the reverse records config'd properly so I changed them too. Now I have a problem. My server 'india' won't return any A records when I dig my domain. Although the root servers will still point me to my website, but according to them it's on my old 'achilles' server.

Digging from the india server ... no reply

[root@india zone]# dig englishteachingkorea.com

; <<>> DiG 9.2.4 <<>> englishteachingkorea.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59116
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;englishteachingkorea.com.      IN      A

;; Query time: 382 msec
;; SERVER: 72.232.192.2#53(72.232.192.2)
;; WHEN: Mon Jul 10 23:45:58 2006
;; MSG SIZE  rcvd: 42

Dig from my desktop, fine but it points to the wrong computer ... probably just waiting for the cache to expire. But it works fine for some reason. I can find my website.

root@eire:/home/babo/Desktop# dig englishteachingkorea.com 
; <<>> DiG 9.3.2 <<>> englishteachingkorea.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56192
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;englishteachingkorea.com.      IN      A

;; AUTHORITY SECTION:
englishteachingkorea.com. 86400 IN      SOA     achilles.eccindustries.info. admin.eccindustries.info. 2006042502 28800 7200 2419200 86400

;; Query time: 516 msec
;; SERVER: 168.126.63.2#53(168.126.63.2)
;; WHEN: Tue Jul 11 13:44:41 2006
;; MSG SIZE  rcvd: 111

Also, when I try to do a reverse look up, it points me to my hosts domain name ... this should be on 183.232.72.india.eccindustries.info as far as I know.

root@eire:/home/babo/Desktop# dig -x 72.232.183.2

; <<>> DiG 9.3.2 <<>> -x 72.232.183.2
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44825
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;2.183.232.72.in-addr.arpa.     IN      PTR

;; ANSWER SECTION:
2.183.232.72.in-addr.arpa. 86400 IN     PTR     2.183.232.72.reverse.layeredtech.com.

;; AUTHORITY SECTION:
183.232.72.in-addr.arpa. 15240  IN      NS      ns1.layeredtech.com.
183.232.72.in-addr.arpa. 15240  IN      NS      ns2.layeredtech.com.

;; ADDITIONAL SECTION:
ns1.layeredtech.com.    11276   IN      A       216.39.90.4
ns2.layeredtech.com.    11276   IN      A       216.39.90.5

;; Query time: 596 msec
;; SERVER: 168.126.63.2#53(168.126.63.2)
;; WHEN: Tue Jul 11 15:02:03 2006
;; MSG SIZE  rcvd: 186

## this is my named.conf

// Boot file for englishteachingkorea name server

include "/etc/rndc.key";

controls {
       inet 127.0.0.1 port 953
               allow { 127.0.0.1; } keys { "rndckey"; };
};

options {
        directory "/var/named";
        query-source address * port 53;
        listen-on-v6 { none; };
                listen-on { 72.232.183.2; 127.0.0.1; };
};

zone "englishteachingkorea.com" in {
        type master;
        notify yes;
        file "zone/englishteachingkorea.com";
        allow-transfer {
                193.218.105.149; 195.234.42.1;
        };
};

## this is my zone file englishteachingkorea.com

$ORIGIN englishteachingkorea.com.
$TTL 3D
@       IN      SOA     india.eccindustries.info. admin.india.eccindustries.info. (
                2006042503
                8H
                2H
                4W
                1D )
;
; Name servers
;
             IN     NS     ns1.eccindustries.info.
;
; Mail server
;
             IN     MX     10     mail.eccindustries.info.
;
; Addresses for canonical names
;
india        IN     A       72.232.183.2
             IN     A       72.232.183.2
ns1          IN     A       72.232.183.2
server       IN     A       72.232.183.2
;
; Aliases
;
ftp          IN     CNAME   server
mail         IN     CNAME   server
www          IN     CNAME   server
;
; Secondary servers
;
@             IN    NS   ns0.xname.org.
@             IN    NS   ns1.xname.org.