Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How set DNS entry for different server? SupuS Installation/Configuration 1 12th June 2006 09:48
Administrator receive empty mail ??? Stanev General 16 7th April 2006 20:56
server blocked/stopped by host Ovidiu Technical 11 14th February 2006 10:50
Mail not working Roadracer Installation/Configuration 16 30th December 2005 23:40
Server can't "see" the internet Luciano Installation/Configuration 8 22nd August 2005 23:22


All times are GMT +2. The time now is 19:02.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.