DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old April 11th, 2002, 03:48 PM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
namedb rejecting, what does it means?

I got it from /var/log/messages, it says..

Code:
Apr 11 15:31:16 ns1 named[65]: starting (/etc/namedb/named.conf). 
named 8.3.1-REL Fri Mar 22 14:57:48 CST 2002
root@***.****.com:/usr/obj/usr/src/usr.sbin/named
Apr 11 15:31:16 ns1 named[65]: limit files set to fdlimit (1024)
Apr 11 15:31:16 ns1 named[65]: mail name "admin.mezzweb.com.(.mezzweb.com" (owner "mezzweb.com") IN (primary) is invalid - rejecting
Apr 11 15:31:16 ns1 named[65]: mezzweb.com:2: Database error near (bad name "admin.mezzweb.com.(.mezzweb.com")
Apr 11 15:31:16 ns1 named[65]: mezzweb.com:3: Database error near ()
Apr 11 15:31:16 ns1 named[65]: mezzweb.com:4: Database error near ()
Apr 11 15:31:16 ns1 named[65]: mezzweb.com:5: Database error near ()
Apr 11 15:31:16 ns1 named[65]: mezzweb.com:6: Database error near ()
Apr 11 15:31:16 ns1 named[65]: mezzweb.com:7: Database error near ())
Apr 11 15:31:16 ns1 named[65]: mezzweb.com:11: Database error near (127.0.0.1)
Apr 11 15:31:16 ns1 named[65]: Zone "mezzweb.com" (file mezzweb.com): no SOA RR found
Apr 11 15:31:16 ns1 named[65]: master zone "mezzweb.com" (IN) rejected due to errors (serial 0)
Apr 11 15:31:16 ns1 named[66]: Ready to answer queries.

What does it means?

I just registered ns1.mezzweb.com in GoDaddy's control panel last night, so do I have to wait for 48 hours to get no error anymore?

If it's not relation to wait for 48 hours to get ns1.mezzweb.com, then I will post my rc.conf, resolv.conf, named.conf, mezzweb.com and localhost.rev files in here..

BTW: GoDaddy's control panel told me that I must have two server name on a domain, so I only have one static IP.. Can I still have two server name on one static IP?

Thanks,
Mezz

Last edited by mezz : April 11th, 2002 at 03:51 PM.

Reply With Quote
  #2  
Old April 11th, 2002, 05:12 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> What does it means?

Your zone format or syntax error. Zip and attach your named.conf and mezzweb.com here.

>> I must have two server name on a domain

Yes. So to get pass that limitation temporarily, just make up
ns2.mezzweb.com and fake its IP to the one closest to your current static IP.
Then just use ns1.mezzweb.com until you can find a friend or a free DNS service to do ns2 for you.
Note, ns1.mezzweb.com is not always the one being queried first, it's randomly. So people will have 50% chance to ask for ns2.mezzweb.com, timeouts, then ask for ns1.mezzweb.com, so be expected there will be a huge delay. But still, having just ns1.mezzweb.com will work, at least technically.

Reply With Quote
  #3  
Old April 11th, 2002, 09:32 PM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Here'a an attach of named.zip that has three files in it. Thanks! However, I already registered/created ns2.mezzweb.com with false IP that is closer to my IP static. I will find another way to get ns2.mezzweb.com works such as asking my friends or else..

BTW: Do I have to configure named.root? I don't see anything in http://www.freebsd.org/doc/en_US.IS...ndbook/dns.html , so I left it as default..

Thanks again,
Mezz
Attached Files
File Type: zip named.zip (858 Bytes, 320 views)

Last edited by mezz : April 11th, 2002 at 09:34 PM.

Reply With Quote
  #4  
Old April 12th, 2002, 02:13 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You got those errors because of tab problem, you forgot to leave a tab between admin.mezzweb.com. and (.
There are 4 attached files (named.conf, mezzweb.com, named.conf.now and mezzweb.com.now). Of course the *.now files are for now and should be renamed to without the .now extension. Compare them and you should figure out the difference.

>> Do I have to configure named.root?

No, you fetch the latest one at -> ftp://ftp.rs.internic.net/domain/named.root

For those who ain't interested in downloading the zip file here is the 4 files:

named.conf.now:
Code:
options {
	directory "/etc/namedb";
	version"";
	auth-nxdomain no;
	recursion no;
	fetch-glue no;
	allow-transfer { none; };
};

zone "mezzweb.com" in {
	type master;
	file "mezzweb.com";
	notify no;
};

zone "." in {
	type hint;
	file "named.root";
};

mezzweb.com.now:
Code:
$TTL	86400
mezzweb.com.	IN	SOA	ns1.mezzweb.com.	hostmaster.mezzweb.com.	(
			2002041200; Serial
			12H	; Refresh
			1800	; Retry
			2W	; Expire
			1D ); Minimum
mezzweb.com.		IN	NS	ns1.mezzweb.com.
mezzweb.com.		IN	NS	ns2.mezzweb.com.
ns1.mezzweb.com.	IN	A	65.27.58.186
ns2.mezzweb.com.	IN	A	65.27.58.187
mezzweb.com.		IN	A	65.27.58.186
www.mezzweb.com.	IN	A	65.27.58.186
mezzweb.com.		IN	MX	0	ns1.mezzweb.com.

named.conf:
Code:
options {
	directory "/etc/namedb";
	version"";
	auth-nxdomain no;
	recursion no;
	fetch-glue no;
	allow-transfer { ns1.yourfriend.com.ip.here; };
};

zone "mezzweb.com" in {
	type master;
	file "mezzweb.com";
	notify yes;
};

zone "." in {
	type hint;
	file "named.root";
};

mezzweb.com:
Code:
$TTL	86400
mezzweb.com.	IN	SOA	ns1.mezzweb.com.	hostmaster.mezzweb.com.	(
			2002041200; Serial
			12H	; Refresh
			1800	; Retry
			2W	; Expire
			1D ); Minimum
mezzweb.com.		IN	NS	ns1.mezzweb.com.
mezzweb.com.		IN	NS	ns1.yourfriend.com.
ns1.mezzweb.com.	IN	A	65.27.58.186
mezzweb.com.		IN	A	65.27.58.186
www.mezzweb.com.	IN	A	65.27.58.186
mezzweb.com.		IN	MX	0	ns1.mezzweb.com.


- Don't use admin@mezzweb.com, use hostmaster instead. You may setup an alias to hostmaster so it forwards message to admin
- Don't set your localhost zone, use /etc/hosts instead.
Attached Files
File Type: zip named.zip (1.1 KB, 291 views)

Last edited by freebsd : April 12th, 2002 at 02:15 AM.

Reply With Quote
  #5  
Old April 12th, 2002, 04:43 AM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
>> You got those errors because of tab problem

Man, I can't believe that is so senstive.. I keep bother for many hours and stratch my head.. From now, I will always check on tab and others pretty careful..

Many thanks, now it loads without error... In log, it looks like this..

Code:
Apr 12 04:15:28 ns1 named[65]: starting (/etc/namedb/named.conf).
named 8.3.1-REL Fri Mar 22 14:57:48 CST 2002
root@*****:/usr/obj/usr/src/usr.sbin/named
Apr 12 04:15:28 ns1 named[65]: limit files set to fdlimit (1024)
Apr 12 04:15:28 ns1 named[66]: Ready to answer queries.


BTW: I just found www.acmebw.com and it has three to four pdf files about Bind/DNS.. I am going to grab those.. Also, have very nice search engine to find many answers there..

Reply With Quote
  #6  
Old April 12th, 2002, 06:13 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> I can't believe that is so senstive

Not only sensitive but ugly format. BTW, to convert mezzweb.com.now to tinydns's data format is as simple as follow:

Zmezzweb.com:ns1.mezzweb.com:hostmaster.mezzweb.com
&mezzweb.com::ns1.mezzweb.com
&mezzweb.com::ns2.mezzweb.com
+ns1.mezzweb.com:65.27.58.186
+ns2.mezzweb.com:65.27.58.187
+mezzweb.com:65.27.58.186
+www.mezzweb.com:65.27.58.186
@mezzweb.com::ns1.mezzweb.com.:0

Last edited by freebsd : April 12th, 2002 at 06:16 AM.

Reply With Quote
  #7  
Old April 12th, 2002, 03:52 PM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Cool, thanks again.. Previous, I had looked like this..

Zmezzweb.com:ns1.mezzweb.com:admin.mezzweb.com
&mezzweb.com::ns1.mezzweb.com
+ns1.mezzweb.com:65.27.58.186
+mezzweb.com:65.27.58.186
+www.mezzweb.com:65.27.58.186

I am just trying to learn both Bind and djndns.. I just changed mine old to new like above that you posted and keep it as note..

When I am all ready, of course I am going to use djb's products and follow mostly on his words as well.

Reply With Quote
  #8  
Old April 13th, 2002, 03:07 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Just queried your DNS and everything looks good so far but the Serial of 20020412. If you take a look at the mezzweb.com.now above, there's a trailing 00 to 20020412. As for now it should be 2002041301, the 01 is for hour in 24HR format.
In addition, the refresh of 12 hours or even 1 week is fine for now. When you find a NS2 be sure to decrease this Refresh to about 6H.

Reply With Quote
  #9  
Old April 13th, 2002, 04:31 AM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
I already set it up as 2002041301 in mezzweb.com.. At first, when mezzweb.com finally is able to view in browser, but not www.mezzweb.com.. I read one of your post in apache about not put domain line in resolv.conf, so I removed it.. Now, www.mezzweb.com works as mezzweb.com..

Thanks freebsd,
Mezz

Reply With Quote
  #10  
Old April 13th, 2002, 05:15 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
If you do things right in FreeBSD, like specifying hostname="ns1.mezzweb.com" in /etc/rc.conf, you do not need to specify domain in /etc/resolv.conf, neither do you need to specify search there. Some technically illiterated people refer their box as its hostname by shortcut (the command of hostname -s) all the time, like ns1 and without the mezzweb.com portion, then they'd need to specify a domain in /etc/resolv.conf.

Reply With Quote
  #11  
Old April 13th, 2002, 12:43 PM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
>> hostname="ns1.mezzweb.com" in /etc/rc.conf

Yeah, I already leave that one for age, but I still put in domain in resolv until I learn from you last night.. It works much better..

thanks,
Mezz

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > namedb rejecting, what does it means?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway