View Single Post
  #1  
Old 20th December 2007, 16:43
dexjul dexjul is offline
Member
 
Join Date: May 2007
Posts: 53
Thanks: 0
Thanked 3 Times in 2 Posts
Default server can't find domain.com: NXDOMAIN

Hello,

I installed binds I follow this http://www.ubuntugeek.com/dns-server...in-ubuntu.html.

I think there is something wrong in my config.

Kindly check this.

Code:
dexter@dexter-laptop:/etc/apache2$ dig docjul.com

; <<>> DiG 9.3.4 <<>> docjul.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 59881
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

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

;; AUTHORITY SECTION:
com.                    231     IN      SOA     a.gtld-servers.net. nstld.verisign-grs.com. 1198054478 1800 900 604800 900

;; Query time: 10 msec
;; SERVER: 58.69.254.106#53(58.69.254.106)
;; WHEN: Wed Dec 19 17:06:11 2007
;; MSG SIZE  rcvd: 101

Code:
dexter@dexter-laptop:/etc/apache2$ nslookup docjul.com
Server:         58.69.254.106
Address:        58.69.254.106#53

** server can't find docjul.com: NXDOMAIN

docjul.com.db
Code:
// replace example.com with your domain name. do not forget the . after the domain name!
// Also, replace ns1 with the name of your DNS server
docjul.com. IN SOA ns1.docjul. admin.docjul.com. (
// Do not modify the following lines!
2007031001
28800
3600
604800
38400
)

// Replace the following line as necessary:
// ns1 = DNS Server name
// mail = mail server name
// example.com = domain name

docjul.com. IN NS ns1.docjul.com.
docjul.com. IN MX 10 mail.docjul.com.
docjul.com. IN A 124.83.19.155

// Replace the IP address with the right IP addresses.
www IN A 124.83.19.155
mta IN A 124.83.19.155
ns1 IN A 124.83.19.155
rev.0.0.124.in-addr.arpa
Code:
//replace example.com with yoour domain name, ns1 with your DNS server name.
// The number before IN PTR example.com is the machine address of the DNS server. in my case, itís 1, as my IP address is #192.168.0.1.
@ IN SOA ns1.docjul.com. admin.docjul.com. (
2007031001;
28800;
604800;
604800;
86400
)

IN NS ns1.docjul.com.
1 IN PTR docjul.com
Reply With Quote
Sponsored Links