LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 06-01-2004, 10:15 AM   #1
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Rep: Reputation: 30
Dns + Dhcp


This is my /var/log/messages

[root@turtle james]# tail -f /var/log/messages
Jun 1 14:28:55 turtle named[5300]: command channel listening on 0.0.0.0#953
Jun 1 14:28:55 turtle named[5300]: zone 0.1.168.192.in-addr.arpa/IN: loaded serial 1
Jun 1 14:28:55 turtle named[5300]: zone mytrek.com/IN: loaded serial 1
Jun 1 14:28:55 turtle named[5300]: running
Jun 1 14:29:17 turtle named[5300]: shutting down: flushing changes
Jun 1 14:29:17 turtle named[5300]: stopping command channel on 0.0.0.0#953
Jun 1 14:29:17 turtle named[5300]: no longer listening on 127.0.0.1#53
Jun 1 14:29:17 turtle named[5300]: no longer listening on 192.168.1.1#53
Jun 1 14:29:17 turtle named[5300]: exiting
Jun 1 14:29:17 turtle named: succeeded
Jun 1 14:29:31 turtle named: named startup succeeded
Jun 1 14:29:31 turtle named[5334]: starting BIND 9.2.3 -u named
Jun 1 14:29:31 turtle named[5334]: using 1 CPU
Jun 1 14:29:31 turtle named[5334]: loading configuration from '/etc/named.conf'
Jun 1 14:29:31 turtle named[5334]: listening on IPv4 interface lo, 127.0.0.1#53
Jun 1 14:29:31 turtle named[5334]: listening on IPv4 interface eth0, 192.168.1.1#53
Jun 1 14:29:31 turtle named[5334]: zone '0.1.168.192.in-addr.arpa' allows updates by IP address, which is insecure
Jun 1 14:29:31 turtle named[5334]: command channel listening on 0.0.0.0#953
Jun 1 14:29:31 turtle named[5334]: zone 0.1.168.192.in-addr.arpa/IN: loaded serial 1
Jun 1 14:29:31 turtle named[5334]: zone mytrek.com/IN: loaded serial 1
Jun 1 14:29:31 turtle named[5334]: running
Jun 1 14:46:06 turtle dhcpd: Unable to add forward map from WINXP.mytrek.com to 192.168.1.200: not a zone
Jun 1 14:46:06 turtle dhcpd: Wrote 2 leases to leases file.
Jun 1 14:46:06 turtle dhcpd: DHCPREQUEST for 192.168.1.200 from 00:40:f4:19:a8:29 (WINXP) via eth0
Jun 1 14:46:06 turtle dhcpd: DHCPACK on 192.168.1.200 to 00:40:f4:19:a8:29 (WINXP) via eth0
Jun 1 14:46:14 turtle dhcpd: Unable to add forward map from WINXP.mytrek.com to 192.168.1.200: not a zone
Jun 1 14:46:14 turtle dhcpd: DHCPREQUEST for 192.168.1.200 from 00:40:f4:19:a8:29 (WINXP) via eth0
Jun 1 14:46:14 turtle dhcpd: DHCPACK on 192.168.1.200 to 00:40:f4:19:a8:29 (WINXP) via eth0
Jun 1 14:46:38 turtle dhcpd: DHCPDISCOVER from 00:40:f4:19:a8:29 (WINXP) via eth0
Jun 1 14:46:38 turtle dhcpd: DHCPOFFER on 192.168.1.200 to 00:40:f4:19:a8:29 (WINXP) via eth0
Jun 1 14:46:38 turtle dhcpd: Unable to add forward map from WINXP.mytrek.com to 192.168.1.200: not a zone
Jun 1 14:46:38 turtle dhcpd: DHCPREQUEST for 192.168.1.200 (192.168.1.1) from 00:40:f4:19:a8:29 (WINXP) via eth0
Jun 1 14:46:38 turtle dhcpd: DHCPACK on 192.168.1.200 to 00:40:f4:19:a8:29 (WINXP) via eth0
Jun 1 14:59:58 turtle ifup-ppp: pppd started for UK_Online_modem on /dev/ttyS1 at 115200


can anyone give me any clues as to what is happening?

my dhcpd.conf

# dhcpd.conf
#

#The crucial line for succesful DNS updates when DHCP lease is renewed.
#Don't move any further below
ddns-update-style interim;


#Turn DDNS on
ddns-updates on;
ddns-ttl 30;


# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

#The secret key also defined in the BIND named.conf .Used to ensure #authenticity of hosts allowed to update DNS records.
include "/etc/rndc.key";

# Option for the listed subnet, including address range to lease out
# and gateway address
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.200 ;
option routers 192.168.1.1;#Gateway address for clients
option broadcast-address 192.168.1.255;
option domain-name "mytrek.com";
option domain-name-servers 192.168.1.1;

#Force clients to release any current IP it may 'own' before
#satisfying request for new one
one-lease-per-client on;

# Allow only server to update records based on hostname passed
# by client
deny client-updates;
default-lease-time 259200; # 3 days
max-lease-time 43200; # 5 Days
}



DHCPDARGS=eth0 ;


and my named.conf

# /etc/named.conf


acl dhcp-srvr {192.168.1.1;};

options {
directory "/var/named/";
};

include "/etc/rndc.key";

controls {
inet 0.0.0.0 port 953
allow { 127.0.0.1; } keys { rndckey; };
};

//This staement associates a key to a server
server 127.0.0.1 {
keys { turtle.mytrek.com.;};
};

key turtle.mytrek.com. {
algorithm hmac-md5;
secret "fhgvJhG7aIbWA7I6K6DOqWByGqfdEtXdmud4kOjRTbTlBHFwy8msB672EqZs";
};



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


zone "mytrek.com" in {
type master;
file "mytrek.com.zone";
allow-update { dhcp-srvr;};
};

zone "0.1.168.192.in-addr.arpa" IN {
type master;
file "192.168.rev";
allow-update { dhcp-srvr; };
};

umber of zones: 4
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
server is up and running
[root@turtle named]#

any suggestions are most welcome!!
 
  


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
forward dns from dhcp to dhcp Fark Linux - Networking 3 03-31-2004 11:40 AM
DHCP / DNS Help!! muzicman82 Linux - Wireless Networking 4 02-25-2004 05:59 PM
Dns / Dhcp TheRealDeal Linux - Networking 9 09-19-2003 05:57 AM
Dns +dhcp james.farrow Linux - Networking 1 07-04-2003 10:17 AM
dhcp and dns tangle Linux - Networking 7 09-26-2002 07:20 PM


All times are GMT -5. The time now is 04:34 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration