Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-30-2004, 06:35 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2002
Location: Illinois
Distribution: Slackware 9 (VectorLinux)
Posts: 16
Rep:
|
Dynamic DNS - DHCP Error Log
I've working on setting up and learning dynamic DNS. I'm using RH9, DHCP, and working with Bind version 9. According to my log files, the dhcpd & named services fires up with out any problems. When I go to my Win9X workstation and release/renew the IP configuration, my log file shows the following error:
Apr 30 18:19:04 trin-serv1 dhcpd: Unable to add forward map from LAPTOP.trinity-internal.com to 192.168.0.75: timed out
Can somebody point me in the right direction on what this error means? As I'm learning DNS, this could be a newbie error but a linuxquestions site and google search on this error hasn't gotten me any leads. I'd be happy to post my dhcpd.conf / named.conf config files as necessary.
|
|
|
|
04-30-2004, 07:20 PM
|
#2
|
|
Member
Registered: Jun 2003
Location: Virginia, USA
Distribution: Slackware
Posts: 252
Rep:
|
Go ahead and post both of them so we can take a look. It is probably an update/key config issue.
What happens if you make a dig request specifying your local named as server? You are not blocking port 53 tcp/udp?
Tom
|
|
|
|
04-30-2004, 08:46 PM
|
#3
|
|
LQ Newbie
Registered: Jan 2002
Location: Illinois
Distribution: Slackware 9 (VectorLinux)
Posts: 16
Original Poster
Rep:
|
No. I have not blocked port 53 (I double-checked /etc/services and its open). Using dig and my server name, I get the following reply:
;; Query time: 251 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 30 20:40:38 2004
;; MSG SIZE rcvd: 99
this would seem to indicate to me that it using my loopback and everything is ok?
Here is my dhcpd.conf:
#
# 192.168.0.0/255.255.255.0 Scope Settings
#
subnet 192.168.0.0 netmask 255.255.255.0 {
# Range of DHCP assigned addresses for this scope
range 192.168.0.50 192.168.0.75;
# 1 day
default-lease-time 604800;
# 2 days
max-lease-time 864000;
# Configure the client's default Gateway:
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
# Configure the client's DNS settings:
option domain-name "trinity-internal.com";
option domain-name-servers 192.168.0.10;
# If you want the client to be configured to also use
# a WINS server:
# option netbios-name-servers 192.168.0.10;
# option netbios-node-type 8;
}
And my named.conf :
options {
directory "/var/named";
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
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; };
};
zone "trinity-internal" in {
type master;
file "trinity-internal.zone";
allow-update { localhost; };
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "192.168.0.rev";
allow-update { localhost; };
};
include "/etc/rndc.key";
|
|
|
|
05-01-2004, 02:43 PM
|
#4
|
|
Member
Registered: Jun 2003
Location: Virginia, USA
Distribution: Slackware
Posts: 252
Rep:
|
None of your zones are allowing for updates from your hosts. You will have to set whatever zones you want updated to either accept based on hsts, acl, or keys.
allow-updates {"keys" "rndckey"} this will need to correspond to the host as well
or
allow-updates {192.168.0}
syntax here might not be exactly right or exactly what you need but you get the idea.
here is a link that should help
http://www.gsp.com/cgi-bin/man.cgi?s...pic=named.conf
Let us know how it works out.
Tom
|
|
|
|
08-30-2004, 01:17 PM
|
#5
|
|
LQ Newbie
Registered: Aug 2004
Location: Johannesburg, South Africa
Distribution: Mandrake, RH, Fedora
Posts: 22
Rep:
|
I was also having the same problems - the cause was an incorrect format of files in /var/named/*.hosts & *.rev
For reverse lookup domain, something similar to the following is required:
$ORIGIN .
$TTL 38400 ; 10 hours 40 minutes
1.168.192.in-addr.arpa IN SOA hostname.domain.local. domains.domain.local. (
1076148340 ; serial - must be unique to your server
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
38400 ; minimum (10 hours 40 minutes)
)
NS hostname.domain.local.
$ORIGIN 1.168.192.in-addr.arpa.
$TTL 43200 ; 12 hours
1 PTR hostname.domain.local.
SOA, TTL, and other required parameters should also be set for yourdomain.com.hosts file in /var/named (or whereever your files are).
|
|
|
|
All times are GMT -5. The time now is 05:15 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|