
20th December 2007, 16:43
|
|
Member
|
|
Join Date: May 2007
Posts: 53
Thanks: 0
Thanked 3 Times in 2 Posts
|
|
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
|

21st December 2007, 12:46
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Does
Code:
dig @localhost docjul.com
work?
|

30th December 2007, 19:59
|
|
Moderator
|
|
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,010
Thanks: 254
Thanked 134 Times in 120 Posts
|
|
dexjul,
A bit off topic, but maybe you can post the fix to your Hotmail problem here?
Lot's of people here are having the same problem as you did have, and they (like you) would love to have it working.
__________________
Never execute code written on a Friday or a Monday.
|

3rd January 2008, 06:27
|
|
Member
|
|
Join Date: May 2007
Posts: 53
Thanks: 0
Thanked 3 Times in 2 Posts
|
|
Quote:
|
Originally Posted by falko
Does
Code:
dig @localhost docjul.com
work?
|
Thanks falko, but still the same. Do you have any idea?
|

4th January 2008, 18:35
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Is BIND running? What's the output of ? Any errors in your logs?
|

5th January 2008, 04:54
|
|
Member
|
|
Join Date: May 2007
Posts: 53
Thanks: 0
Thanked 3 Times in 2 Posts
|
|
Quote:
|
Originally Posted by falko
Is BIND running? What's the output of ? Any errors in your logs?
|
Here's the output of netstat -tap
Code:
dexter@dexter-laptop:/var/log$ netstat -tap
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:2208 *:* LISTEN -
tcp 0 0 *:mysql *:* LISTEN -
tcp 0 0 *:netbios-ssn *:* LISTEN -
tcp 0 0 *:www *:* LISTEN -
tcp 0 0 192.168.242.1:domain *:* LISTEN -
tcp 0 0 192.168.186.1:domain *:* LISTEN -
tcp 0 0 124.83.30.228.pl:domain *:* LISTEN -
tcp 0 0 localhost:domain *:* LISTEN -
tcp 0 0 localhost:ipp *:* LISTEN -
tcp 0 0 localhost:953 *:* LISTEN -
tcp 0 0 *:microsoft-ds *:* LISTEN -
tcp 0 0 localhost:2207 *:* LISTEN -
tcp 0 0 124.83.30.228.pld:42231 cs36.msg.dcn.yahoo:mmcc ESTABLISHED6223/gaim
tcp6 0 0 *:5900 *:* LISTEN 6040/vino-server
tcp6 0 0 *:domain *:* LISTEN -
tcp6 0 0 *:ftp *:* LISTEN -
tcp6 0 0 *:ssh *:* LISTEN -
tcp6 0 0 ip6-localhost:953 *:* LISTEN -
binds is running
Code:
dexter@dexter-laptop:/var/log$ sudo /etc/init.d/bind9 stop
* Stopping domain name service... bind [ OK ]
dexter@dexter-laptop:/var/log$ sudo /etc/init.d/bind9 start
* Starting domain name service... bind [ OK ]
Where can I find log for binds?
Thank you.
|

6th January 2008, 13:15
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Quote:
|
Originally Posted by dexjul
Where can I find log for binds?
Thank you.
|
Take a look at /var/log/syslog.
|

12th November 2008, 16:40
|
|
Junior Member
|
|
Join Date: Nov 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Merry Christmas... oh and adjust "admin" to reflect your bind user.
Code:
$TTL 86400
@ IN SOA admin ns1.docjul.com. (
20081112001 ; Serial
28800 : Refresh (s)
3600 ; Retry (s)
604800 ; Expiration (s)
38400 ; Negative Cache TTL (s)
)
;
@ IN NS ns1
ns1 IN A 124.83.19.155
www IN CNAME ns1
mta IN CNAME ns1
mail IN MX INSERT IP HERE
You'll want to double check your reverse lookup too it seems. Update your zone file like this, and then restart bind. Please post your syslog after doing this.
Last edited by skhaos; 12th November 2008 at 17:00.
|

16th November 2008, 17:59
|
|
Junior Member
|
|
Join Date: Nov 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by skhaos
Merry Christmas... oh and adjust "admin" to reflect your bind user.
|
According to DNS and BIND, 5th Edition by O'Reilly Media, 2007:
"The second name (al.movie.edu.) is the mail address of the person in charge of the zone if you replace the first "." with an "@". Often you'll see root, postmaster, or hostmaster as the email address. Nameservers won't use this address; it's meant for human consumption. If you have a problem with a zone, you can send a message to the listed email address."
So, I stand corrected.
|

2nd April 2010, 10:39
|
|
Junior Member
|
|
Join Date: Apr 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Nxdomain
My named on /etc/named
/var/named
my zone file on /var/named/chroot/var/named/data/
[root@fcts data]# dig fcts.in
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> fcts.in
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 48711
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;fcts.in. IN A
;; AUTHORITY SECTION:
in. 900 IN SOA a0.cctld.afilias-nst.info. noc.afilias-nst.info. 2008492742 600 900 2592000 86400
;; Query time: 103 msec
;; SERVER: 192.168.1.10#53(192.168.1.10)
;; WHEN: Sat Apr 3 13:58:55 2010
;; MSG SIZE rcvd: 90
/etc/hosts
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.1.10 fcts.in fcts
[root@fcts data]# nslookup fcts.in
Server: 192.168.1.10
Address: 192.168.1.10#53
** server can't find fcts.in: NXDOMAIN
[root@fcts data]# nslookup
> 192.168.1.10
Server: 192.168.1.10
Address: 192.168.1.10#53
** server can't find 10.1.168.192.in-addr.arpa.: NXDOMAIN
> fcts.in
Server: 192.168.1.10
Address: 192.168.1.10#53
** server can't find fcts.in: NXDOMAIN
How to get rid out this problem
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 10:07.
|
|
Recent comments
8 hours 45 min ago
13 hours 50 min ago
18 hours 15 min ago
20 hours 4 min ago
1 day 10 hours ago
1 day 10 hours ago
1 day 15 hours ago
1 day 21 hours ago
1 day 22 hours ago
2 days 2 min ago