Thread: nameservers
View Single Post
  #8   (View Single Post)  
Old 26th May 2008
c0mrade's Avatar
c0mrade c0mrade is offline
Port Guard
 
Join Date: May 2008
Posts: 41
Default

Thank you for your answer

Quote:
First get the nameserver setup working
- This is my primary goal
I got named working now .. everything running smoothly if you look at conf files... I created komentari.info.zone inside /var/named looks like this
Code:
$TTL    86400
@               IN SOA  @ hexteam.gmail.com. (
                                        42              ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum
@               IN NS           ns1.komentari.info.
                IN NS           ns2.komentari.info.

komentari.info. IN A 208.84.149.210

localhost.komentari.info. IN A 127.0.0.1
I specified A for komentari.info in this file should I specify and how A records of nameservers in this komentari.info.zone file.. if you mean specify A records of nameservers in their zone files I already did that inside /var/named/ns1.komentari.info.zone and in /var/named/ns2.komentari.info.zone

Code:
$TTL    86400
@               IN SOA  @ hexteam.gmail.com. (
                                        42              ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum
@               IN NS           ns1.komentari.info.
                IN NS           ns2.komentari.info.

ns1.komentari.info. IN A 208.84.149.210

localhost.ns1.komentari.info. IN A 127.0.0.1
and
Code:
$TTL    86400
@               IN SOA  @ hexteam.gmail.com. (
                                        42              ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum
@               IN NS           ns1.komentari.info.
                IN NS           ns2.komentari.info.

ns2.komentari.info. IN A 208.84.151.35

localhost.ns2.komentari.info. IN A 127.0.0.1
Now I did dig -t ns komentari.info. this is what I got
Code:
 dig -t ns  komentari.info.

; <<>> DiG 9.3.3rc2 <<>> -t ns komentari.info.
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33124
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;komentari.info.                        IN      NS

;; ANSWER SECTION:
komentari.info.         81260   IN      NS      ns3.dreamhost.com.
komentari.info.         81260   IN      NS      ns2.dreamhost.com.
komentari.info.         81260   IN      NS      ns1.dreamhost.com.

;; Query time: 4 msec
;; SERVER: 208.77.101.249#53(208.77.101.249)
;; WHEN: Sun May 25 17:23:00 2008
;; MSG SIZE  rcvd: 99
Of course this domain shows to old nameservers since I can't change them as mentioned above.. any other hints/tips ? Thank you
Reply With Quote