|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
>> 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. |
|
#3
|
|||
|
|||
|
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 Last edited by mezz : April 11th, 2002 at 09:34 PM. |
|
#4
|
|||
|
|||
|
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. Last edited by freebsd : April 12th, 2002 at 02:15 AM. |
|
#5
|
|||
|
|||
|
>> 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.. |
|
#6
|
|||
|
|||
|
>> 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. |
|
#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. |
|
#8
|
|||
|
|||
|
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. |
|
#9
|
|||
|
|||
|
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 |
|
#10
|
|||
|
|||
|
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.
|
|
#11
|
|||
|
|||
|
>> 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 |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > namedb rejecting, what does it means? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|