LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hi could use some help with dns (https://www.linuxquestions.org/questions/linux-newbie-8/hi-could-use-some-help-with-dns-663915/)

ArianaPantalaimon 08-19-2008 04:55 PM

Hi could use some help with dns
 
hi i have a debian server i just ordered and 3 domain names tho i just would like 1 to work for now anyway i have used this guide linux.justinhartman.com/DNS_Installation_and_Setup_using_BIND9

minus the first part to make it chrooted (which i dontthink should matter) i am getting an error on nslookup and pinging it but it seems to look ok when i do the dig @localhost ns1.pantalaimon.info

heres what i get from the other two commands


server:/etc/bind/zones/master# /etc/init.d/bind9 restart
Stopping domain name service...: bind.
Starting domain name service...: bind.
server:/etc/bind/zones/master# rndc reload
server reload successful
server:/etc/bind/zones/master# ping ns1.pantalaimon.info
ping: unknown host ns1.pantalaimon.info
server:/etc/bind/zones/master# nslookup ns1.pantalaimon.info
Server: 208.89.211.208
Address: 208.89.211.208#53

** server can't find ns1.pantalaimon.info: NXDOMAIN

server:/etc/bind/zones/master#

the dig returns this
server:/etc/bind/zones/master# dig @localhost ns1.pantalaimon.info

; <<>> DiG 9.3.4-P1.1 <<>> @localhost ns1.pantalaimon.info
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 13144
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;ns1.pantalaimon.info. IN A

;; AUTHORITY SECTION:
pantalaimon.info. 604800 IN SOA pantalaimon.info. info.pantalaimon.info. 2007011501 7200 120 2419200 604800

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Aug 19 11:49:59 2008
;; MSG SIZE rcvd: 79

server:/etc/bind/zones/master# dig @localhost pantalaimon.info

; <<>> DiG 9.3.4-P1.1 <<>> @localhost pantalaimon.info
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65378
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;pantalaimon.info. IN A

;; ANSWER SECTION:
pantalaimon.info. 604800 IN A 208.89.208.64

;; AUTHORITY SECTION:
pantalaimon.info. 604800 IN NS ns1.pantalaimon.info.
pantalaimon.info. 604800 IN NS ns2.pantalaimon.info.

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Aug 19 11:50:08 2008
;; MSG SIZE rcvd: 86

which is the proper ip that it should route to in the answer section...any help would be appreciated hopefully i gave everything i needed for you to help.

ArianaPantalaimon 08-20-2008 01:41 AM

ok one of my friends is kinda helping me with this thanks if i need anything else ill let you know


All times are GMT -5. The time now is 11:30 PM.