LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-12-2003, 07:58 AM   #1
mule
Member
 
Registered: Aug 2003
Posts: 81

Rep: Reputation: 15
ddns - problems


hello,

i configured dns and dhcp to make ddns at my homenetwork. it does not seem to work fine, as dig and host always show the root servers. even if i start up named, i get the following errors.
Aug 12 14:42:40 trinity /usr/sbin/named[5165]: dns_master_load: 0.10.db:1: empty label
Aug 12 14:42:40 trinity /usr/sbin/named[5165]: dns_zone_load: zone 0.0.10.in-addr.arpa/IN: loading master file 0.10.db: empty label
Aug 12 14:42:40 trinity /usr/sbin/named[5165]: dns_master_load: gwch.net.db:1: empty label
Aug 12 14:42:40 trinity /usr/sbin/named[5165]: dns_zone_load: zone gwch.net/IN: loading master file gwch.net.db: empty label

enclosed copy of a master.db-file:
trinity:/var/named # more gwch.net.db
$ORIGIN .net
$TTL 86400 ; 1 day
gwch. IN SOA trinity.gwch.net.
root.trinity. ( 2003081107; serial
10800; refresh
900; retry
604800; expire
86400; minimum
)
NS trinity.gwch.
A 10.0.0.2

$ORIGIN gwch.
morpheus A 10.0.0.1
trinity A 10.0.0.2

ah, yes, btw here the named.conf
trinity:/etc # more named.conf
options {
directory "/var/named";
notify no;
forward first;
forwarders { 62.2.17.61; 62.2.24.158; 62.2.17.60; } ;

};

controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

include "/etc/rndc.key";

zone"." IN {
type hint;
file "named.ca";
};

zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};

include "/etc/dhcpd.key";

zone "gwch.net" IN {
type master;
file "gwch.net.db";
allow-update { key DHCP_UPDATER; };
};

zone "0.0.10.in-addr.arpa" IN {
type master;
file "0.10.db";
allow-update { key DHCP_UPDATER; };
};


PLEASE, does anybody have any idea???
 
Old 08-12-2003, 09:27 AM   #2
redhawk1973
Member
 
Registered: Jul 2003
Location: Woodbridge VA
Distribution: Red Hat, Suse, AIX, Fedora, Cent OS, Ubuntu, Mint Linux
Posts: 58

Rep: Reputation: 18
What version of dns are you runing
 
Old 08-12-2003, 09:34 AM   #3
mule
Member
 
Registered: Aug 2003
Posts: 81

Original Poster
Rep: Reputation: 15
I am running Bind 9
 
Old 08-12-2003, 03:47 PM   #4
bastard23
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30
mule,

What's in the gwch.net.db and 0.10.db files? Have you set them up yet?
According to the BIND 9 ARM, you have to stop the server to edit them because it uses journal files and doesn't update immediately.
 
Old 08-13-2003, 12:57 PM   #5
mule
Member
 
Registered: Aug 2003
Posts: 81

Original Poster
Rep: Reputation: 15
Database

hi, thx for your reply. an output from my gwch.net.db is enclosed in my first posting.
 
Old 08-13-2003, 08:28 PM   #6
bastard23
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30
mule,

Ya, I just seemed to look at named.conf.

I'm not really up to speed on DNS, but...

The use of $ORIGIN feels off.
$ORIGIN .net
$ORIGIN gwch.


Doesn't that mean gwch. is a top level domain (.com or such) as the period at the end means the root domain. I don't think $ORIGIN is cumulative, so gwch. isn't quite right. I would just use one $ORIGIN of .gwch.net.

Is named running as root?

The error message seems to say that the problem is at line 1 of each of the files. Perhaps the permissions are off? Try running named with the debug switch (-d and keep incrementing) to see if anything pops up. I'm not sure what the problem is.

Hope that helps,
chris
 
Old 08-14-2003, 01:19 AM   #7
mule
Member
 
Registered: Aug 2003
Posts: 81

Original Poster
Rep: Reputation: 15
ho bastard23,

thx, will try hard!!!!
 
Old 08-14-2003, 03:28 AM   #8
mule
Member
 
Registered: Aug 2003
Posts: 81

Original Poster
Rep: Reputation: 15
hello bastard23,

i just rewrote the db-files once again....and it works......very, very strange....i just took the whole SOA-stuff on one single line-thats it....

but, having now a second problem. ist mentionned in the post "DDNS and 2 reverse zones"
 
Old 12-21-2008, 06:54 AM   #9
bwziwi
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by mule View Post
hello bastard23,

i just rewrote the db-files once again....and it works......very, very strange....i just took the whole SOA-stuff on one single line-thats it....

but, having now a second problem. ist mentionned in the post "DDNS and 2 reverse zones"
I think you had a dot to much, like ".gwch.net.", and it should be "gwc.net." without the leading dot.
About your current problem - don't know, but maybe I'll know the solution after some time.
What distirb do you use?
 
  


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
DDNS and rndc paul_mat Linux - Networking 1 11-16-2005 01:53 PM
DHCP and DDNS garullon245136 Linux - Networking 1 06-20-2005 08:29 PM
DNS and DDNS mr_spooky Linux - Networking 3 03-11-2004 11:45 PM
Redhat 8.0 - DDNS problem jst Linux - Networking 1 12-14-2003 03:46 PM
dhclient and ddns? luischardon Linux - Networking 5 09-28-2003 04:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:42 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