LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-17-2013, 03:25 AM   #1
FortressMvelez
Member
 
Registered: May 2013
Location: Bronx, New York
Posts: 40

Rep: Reputation: Disabled
Bind Error


Hello,

I am very new to bind. I got it set up and "working" in terms of installing and configuration for the over all bind to work. The problem started when I made a zone file for the domain name aevtech.com

This is the error I get when I start bind:

Code:
Error in named configuration:
dns_rdata_fromtext: aevtech.com.db:15: near 'aevtech.com.': not a valid number
zone aevtech.com/IN: loading from master file aevtech.com.db failed: not a valid number
zone aevtech.com/IN: not loaded due to errors.
_default/aevtech.com/IN: not a valid number
zone 70.98.65.in-addr.arpa/IN: loaded serial 2013071600
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
I have been pulling my hair out trying to figure out what to fix and I just can't figure it out for the life of me. I googled and read and looked but still the same error. Here is the zone file for aevtech.com

Location: /var/named/aevtech.com.db

Code:
[root@server ~]# cat /var/named/aevtech.com.db 
$TTL 3600

@	IN     SOA     ns1.aevtech.com.     manny.aevtech.com. (
					2013081700 ;Serial Number
					86400 ;refresh
					7200 ;retry
					3600000 ;expire
					86400 ) ;minimum 
aevtech.com.	86400	IN	NS	ns1.aevtech.com.
aevtech.com.	86400	IN	NS	ns2.aevtech.com.
ns1	14400	IN	A	65.98.70.2
ns2	14400	IN	A	65.98.70.3
aevtech.com.	14400	IN	A	65.98.70.2
localhost	14400	IN	A	127.0.0.1
aevtech.com.	14400	IN	MX	aevtech.com.
mail	14400	IN	CNAME	aevtech.com.
www	14400	IN	CNAME	aevtech.com.
ftp	14400	IN	A	65.98.70.2
server	14400	IN	A	65.98.70.2
The upsetting part is I bet it is something very simple that I'm sure I'm missing that if RIGHT in front of my face but that's what comes with the learning process! Thank you in advanced for any and all help!
 
Old 07-17-2013, 03:41 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
you don't have a priority for the MX:

http://dnsdb.cit.cornell.edu/explain_mx.html

That localhost entry should'nt be in there.

Last edited by acid_kewpie; 07-17-2013 at 03:44 AM.
 
Old 07-17-2013, 11:24 AM   #3
FortressMvelez
Member
 
Registered: May 2013
Location: Bronx, New York
Posts: 40

Original Poster
Rep: Reputation: Disabled
Hello,

Bind started working normally!! Thank you for your help. But, it seems like I have another error now. I checked the log in /var/log/messages and see this:

ul 17 12:24:06 server named[8615]: set up managed keys zone for view _default, file '/var/named/dynamic/managed-keys.bind'
Jul 17 12:24:06 server named[8615]: Warning: 'empty-zones-enable/disable-empty-zone' not set: disabling RFC 1918 empty zones
Jul 17 12:24:06 server named[8615]: automatic empty zone: 127.IN-ADDR.ARPA
Jul 17 12:24:06 server named[8615]: automatic empty zone: 254.169.IN-ADDR.ARPA
Jul 17 12:24:06 server named[8615]: automatic empty zone: 2.0.192.IN-ADDR.ARPA
Jul 17 12:24:06 server named[8615]: automatic empty zone: 100.51.198.IN-ADDR.ARPA
Jul 17 12:24:06 server named[8615]: automatic empty zone: 113.0.203.IN-ADDR.ARPA
Jul 17 12:24:06 server named[8615]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
Jul 17 12:24:06 server named[8615]: automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
Jul 17 12:24:06 server named[8615]: automatic empty zone: D.F.IP6.ARPA
Jul 17 12:24:06 server named[8615]: automatic empty zone: 8.E.F.IP6.ARPA
Jul 17 12:24:06 server named[8615]: automatic empty zone: 9.E.F.IP6.ARPA
Jul 17 12:24:06 server named[8615]: automatic empty zone: A.E.F.IP6.ARPA
Jul 17 12:24:06 server named[8615]: automatic empty zone: B.E.F.IP6.ARPA
Jul 17 12:24:06 server named[8615]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
Jul 17 12:24:06 server named[8615]: command channel listening on 127.0.0.1#953
Jul 17 12:24:06 server named[8615]: command channel listening on ::1#953
Jul 17 12:24:06 server named[8615]: zone 0.in-addr.arpa/IN: loaded serial 0
Jul 17 12:24:06 server named[8615]: zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
Jul 17 12:24:06 server named[8615]: zone 70.98.65.in-addr.arpa/IN: loaded serial 2013071600
Jul 17 12:24:06 server named[8615]: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
Jul 17 12:24:06 server named[8615]: zone aevtech.com/IN: loaded serial 2013081701
Jul 17 12:24:06 server named[8615]: zone localhost.localdomain/IN: loaded serial 0
Jul 17 12:24:06 server named[8615]: zone localhost/IN: loaded serial 0
Jul 17 12:24:06 server named[8615]: managed-keys-zone ./IN: loaded serial 19
Jul 17 12:24:06 server named[8615]: running
Jul 17 12:24:06 server named[8615]: zone aevtech.com/IN: sending notifies (serial 2013081701)
Jul 17 12:24:06 server named[8615]: error (network unreachable) resolving 'dlv.isc.org/DNSKEY/IN': 2001:500:2f::f#53
Jul 17 12:24:06 server named[8615]: error (network unreachable) resolving './DNSKEY/IN': 2001:500:2f::f#53
Jul 17 12:24:06 server named[8615]: error (network unreachable) resolving './NS/IN': 2001:500:2f::f#53
Jul 17 12:24:06 server named[8615]: error (network unreachable) resolving 'dlv.isc.org/DNSKEY/IN': 2001:4f8:0:2::20#53
Jul 17 12:24:06 server named[8615]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/A/IN': 2a01:8840:9::1#53
Jul 17 12:24:06 server named[8615]: error (network unreachable) resolving 'pdns3.ultradns.org/AAAA/IN': 2610:a1:1015::1#53
Jul 17 12:24:06 server named[8615]: error (network unreachable) resolving 'pdns6.ultradns.co.uk/AAAA/IN': 2001:502:ad09::3#53
Jul 17 12:25:12 server named[8615]: client 66.249.72.136#48866: query 'www.aevtech.com/A/IN' denied
Jul 17 12:25:12 server named[8615]: client 66.249.72.117#59739: query 'www.aevtech.com/A/IN' denied

Last time I seen something like this I was told something was being blocked? That was a while ago and I don't remember what it was to fix this.

Last edited by FortressMvelez; 07-17-2013 at 11:28 AM.
 
Old 07-17-2013, 07:43 PM   #4
FortressMvelez
Member
 
Registered: May 2013
Location: Bronx, New York
Posts: 40

Original Poster
Rep: Reputation: Disabled
Hello,

Now I am seeing a lot of this:

Jul 17 02:02:52 server named[3355]: client 167.206.211.249#32292: query 'aevTEch.cOm/A/IN' denied
Jul 17 02:02:52 server named[3355]: client 167.206.211.249#20960: query 'aevTEch.cOm/A/IN' denied
Jul 17 02:02:52 server named[3355]: client 167.206.211.249#60015: query 'aevTEch.cOm/A/IN' denied
Jul 17 02:02:52 server named[3355]: client 167.206.211.249#49429: query 'aevTEch.cOm/A/IN' denied
Jul 17 02:02:53 server named[3355]: client 167.206.251.141#44304: query 'aEvtEch.cOM/A/IN' denied
Jul 17 02:02:53 server named[3355]: client 167.206.251.141#17716: query 'aEvtEch.cOM/A/IN' denied
Jul 17 02:02:53 server named[3355]: client 167.206.251.141#48335: query 'aEvtEch.cOM/A/IN' denied
Jul 17 02:02:53 server named[3355]: client 167.206.251.141#54476: query 'aEvtEch.cOM/A/IN' denied
Jul 17 02:02:56 server named[3355]: client 167.206.211.250#33833: query 'aEVtECH.Com/A/IN' denied
Jul 17 02:02:56 server named[3355]: client 167.206.211.250#54559: query 'aEVtECH.Com/A/IN' denied
Jul 17 02:02:56 server named[3355]: client 167.206.211.250#59432: query 'aEVtECH.Com/A/IN' denied
Jul 17 02:02:57 server named[3355]: client 167.206.211.250#35905: query 'aEVtECH.Com/A/IN' denied
Jul 17 02:03:05 server named[3355]: client 167.206.251.142#16826: query 'AEVteCH.COM/A/IN' denied
Jul 17 02:03:06 server named[3355]: client 167.206.251.142#61487: query 'AEVteCH.COM/A/IN' denied
Jul 17 02:03:06 server named[3355]: client 167.206.251.142#21651: query 'AEVteCH.COM/A/IN' denied
Jul 17 02:03:06 server named[3355]: client 167.206.251.142#63121: query 'AEVteCH.COM/A/IN' denied
Jul 17 02:03:23 server named[3355]: client 167.206.211.250#45362: query 'Www.AevteCH.COM/A/IN' denied
Jul 17 02:03:23 server named[3355]: client 167.206.211.250#46248: query 'Www.AevteCH.COM/A/IN' denied
Jul 17 02:03:23 server named[3355]: client 167.206.211.250#21009: query 'Www.AevteCH.COM/A/IN' denied
Jul 17 02:03:23 server named[3355]: client 167.206.211.250#17416: query 'Www.AevteCH.COM/A/IN' denied
Jul 17 02:03:24 server named[3355]: client 167.206.211.249#53697: query 'wwW.aevTeCh.coM/A/IN' denied
Jul 17 02:03:24 server named[3355]: client 167.206.211.249#35589: query 'wwW.aevTeCh.coM/A/IN' denied
Jul 17 02:03:24 server named[3355]: client 167.206.211.249#61895: query 'wwW.aevTeCh.coM/A/IN' denied
Jul 17 02:03:24 server named[3355]: client 167.206.211.249#19357: query 'wwW.aevTeCh.coM/A/IN' denied
Jul 17 02:03:27 server named[3355]: client 167.206.251.141#18985: query 'wWw.AeVTeCh.COm/A/IN' denied
Jul 17 02:03:27 server named[3355]: client 167.206.251.141#41198: query 'wWw.AeVTeCh.COm/A/IN' denied
Jul 17 02:03:27 server named[3355]: client 167.206.251.141#63001: query 'wWw.AeVTeCh.COm/A/IN' denied
Jul 17 02:03:27 server named[3355]: client 167.206.251.141#25096: query 'wWw.AeVTeCh.COm/A/IN' denied
Jul 17 02:03:33 server named[3355]: client 167.206.251.142#65332: query 'aevtECH.COm/A/IN' denied
Jul 17 02:03:33 server named[3355]: client 167.206.251.142#53805: query 'aevtECH.COm/A/IN' denied
Jul 17 02:03:33 server named[3355]: client 167.206.251.142#33603: query 'aevtECH.COm/A/IN' denied
Jul 17 02:03:33 server named[3355]: client 167.206.251.142#38272: query 'aevtECH.COm/A/IN' denied
Jul 17 02:03:36 server named[3355]: client 167.206.251.142#44416: query 'WWW.AeVTEch.COm/A/IN' denied
Jul 17 02:03:36 server named[3355]: client 167.206.251.142#58198: query 'WWW.AeVTEch.COm/A/IN' denied
Jul 17 02:03:36 server named[3355]: client 167.206.251.142#24044: query 'WWW.AeVTEch.COm/A/IN' denied
Jul 17 02:03:36 server named[3355]: client 167.206.251.142#46920: query 'WWW.AeVTEch.COm/A/IN' denied
Jul 17 02:03:53 server named[3355]: client 167.206.251.141#23776: query 'AEvTeCH.cOM/A/IN' denied
Jul 17 02:03:53 server named[3355]: client 167.206.211.250#37758: query 'AEvTeCh.COm/A/IN' denied
Jul 17 02:03:53 server named[3355]: client 167.206.251.141#29268: query 'AEvTeCH.cOM/A/IN' denied
Jul 17 02:03:53 server named[3355]: client 167.206.211.250#26413: query 'AEvTeCh.COm/A/IN' denied
Jul 17 02:03:53 server named[3355]: client 167.206.251.141#42800: query 'AEvTeCH.cOM/A/IN' denied
Jul 17 02:03:53 server named[3355]: client 167.206.211.250#31448: query 'AEvTeCh.COm/A/IN' denied
Jul 17 02:03:53 server named[3355]: client 167.206.251.141#54329: query 'AEvTeCH.cOM/A/IN' denied
Jul 17 02:03:53 server named[3355]: client 167.206.211.250#26257: query 'AEvTeCh.COm/A/IN' denied
Jul 17 02:03:54 server named[3355]: client 88.86.116.44#20113: query 'aevtech.com/A/IN' denied
Jul 17 02:03:54 server named[3355]: client 88.86.116.44#13938: query 'aevtech.com/A/IN' denied
Jul 17 02:03:54 server named[3355]: client 88.86.116.44#56018: query 'ns1.aevtech.com/AAAA/IN' denied
Jul 17 02:03:54 server named[3355]: client 88.86.116.44#53913: query 'ns2.aevtech.com/AAAA/IN' denied
Jul 17 02:03:54 server named[3355]: client 93.99.200.1#60185: query 'aevtech.com/A/IN' denied
 
Old 07-18-2013, 02:39 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
what does the actual config look like?
 
Old 07-18-2013, 11:29 AM   #6
FortressMvelez
Member
 
Registered: May 2013
Location: Bronx, New York
Posts: 40

Original Poster
Rep: Reputation: Disabled
Hello,

I actually figure it out. In the configuration, there is a section in the beginning that looks like this:

allow-query { any; }; <------ Before, this was blank and I set it to any;

listen-on port 53 { 127.0.0.1; }; <------ Also had to change this and add any; as well listen-on port 53 { 127.0.0.1; any; };

Once I did this, everything started working the way it should of. Thank you for your help!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BIND error czezz Linux - Networking 23 12-10-2005 08:46 AM
BIND Error Kenji Miyamoto Slackware 1 05-22-2005 06:37 AM
bind 9.2.3 error mcalizo Linux - General 1 10-11-2004 05:39 AM
Bind Error sakkie Linux - Networking 1 10-12-2003 09:28 AM
Bind 9.2.1 error Saleen_GT_S281 Linux - Networking 4 11-15-2002 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration