LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-19-2014, 05:32 PM   #1
techmom50
Member
 
Registered: Aug 2013
Posts: 36

Rep: Reputation: Disabled
odd behavior between DHCP and Bind9


I Have Virtual Box on Host PC ORYX networking is bridged, I have internet access all machines listed below are VM's in Virtual Box except Redstag and Oryx I have a router connected to our main network (basically I have set up another network independent of our actual network)
I have 3 PC's on my LAN set to use Static & Dynamic IP's configured in the DHCP.CONF.
virtualguest3 static is Ubuntu desktop it works.. gets IP and writes forward and reverse lookup.
B]oryx.pacificcabinets.com [/B]static is Win 7 desktop it works somewhat gets IP and only writes to my reverse zone.
B]redstag.pacificcabinets.com [/B]is Win 7 desktop gets dynamic IP and does not write to my forward zone.
this is a Gentoo Server with DCHP and DNS..
here is my DHCP.conf file
Code:
# dhcpd.conf
#global statements
authoritative;

# This is a very basic subnet declaration.
subnet 192.168.6.0 netmask 255.255.255.0 {
  range 192.168.6.21 192.168.6.200;
}
  option domain-name-servers 192.168.6.5;
  option domain-name "example.com";
  option routers 192.168.6.1;
  option broadcast-address 192.168.6.255;
  option netbios-name-servers 192.168.6.5;
  option netbios-node-type 8;
default-lease-time 600; # 10 min
max-lease-time 7200; # 2 hrs
# dynamic DNS updates
ddns-update-style interim;
ddns-domainname "example.com.";
ddns-rev-domainname "in-addr.arpa.";
#allow client-updates;
update -conflict-detection false;
update-static-leases on;
#logging
log-facility local7;
# RNDC Key for DDNS
key "rndc-key" {
        algorithm hmac-md5;
        secret "it's a secret";
};
include "/etc/rndc.key";
  zone example.com.{
        primary 127.0.0.1;
        key "rndc-key";
  }
  zone 6.168.192.in-addr.arpa.{
        primary 127.0.0.1;
        key "rndc-key";
  }
# 192.168.6.0 to 192.168.6.4 = routers,switches
# 192.168.6.5 to 192.168.6.10 = servers
# 192.168.6.21 to 192.168.6.255 = dynamic range
#Gentoo DHCP/BIND9
#host virtualguest0 {
#  hardware ethernet 08:00:27:A8:7C:B5;
#  fixed-address 192.168.6.5;
#}
#Gentoo OpenLDAP
#host virtualguest1 {
#  hardware ethernet 08:00:27:4B:58:70;
#  fixed-address 192.168.6.6;
#}
#Ubuntu server 12.04 SAMBA Server
#host virtualguest2 {
#  hardware ethernet 08:00:27:6F:31:1A;
#  fixed-address 192.168.6.7;
#}
#Ubuntu server 12.04 LAMP Extra server
#host virtualguest4 {
#  hardware ethernet 08:00:27:00:37:29;
# fixed-address 192.168.6.8;
#}
# 192.168.6.11 to 192.168.6.20 = static desktops
host virtualguest3 {
  hardware ethernet 08:00:27:14:b8:f1;
  fixed-address 192.168.6.11;
}
host oryx {
  hardware ethernet b8:ca:3a:8c:40:52;
  fixed-address 192.168.6.12;
}
& NAMED.conf
Code:
include "/etc/rndc.key";
options {
        directory "/var/bind";
        pid-file "/var/run/named/named.pid";
        bindkeys-file "/etc/bind/bind.keys";
        allow-query { "trusted"; };
        allow-query-cache { "trusted"; };
        allow-recursion { "trusted"; };
        forward first;
        forwarders {
                192.168.1.53;   // Buri remark/remove when go live
                192.168.1.54;   // Borr remark/remove when go live
/*      208.67.222.222;         // unremark before live
 *      129.250.35.260;         // unremark before live
 *      208.64.220.220;         // unrmark before live
*/
        };
};
controls {
        inet 127.0.0.1 port 953
        allow { 127.0.0.1; 192.168.6.5;  } keys { "rndc_key"; };
};
logging {
        channel default_log {
                file "/var/log/named/named.log" versions 5 size 50M;
                print-time yes;
                print-severity yes;
                print-category yes;
        };

        category default { default_log; };
        category general { default_log; };
};

zone "." in {
        type hint;
        file "/var/bind/named.cache";
};
zone "example.com" {
        type master;
        file "/var/bind/pri/example.zone";
        allow-update {key rndc_key;};
 };
zone "6.168.192.in-addr.arpa" {
        type master;
        file "/var/bind/pri/6.168.192.zone";
        allow-update {key rndc_key;};
 };
I can post log files if needed. however they just say what I have explained above.
Any direction as to where I may look to solve this would be appreciated.

Last edited by techmom50; 02-19-2014 at 05:34 PM.
 
  


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
How do I perform maintenance on a master DNS/DHCP (BIND9/ISC-DHCP) Ubuntu server? Sniperm4n Linux - Server 2 09-09-2013 02:19 PM
Odd NIC/DHCP behavior after reboot phouse Slackware 7 05-23-2007 06:22 PM
Odd CD Light Behavior pdgardin Linux - General 1 08-06-2006 11:30 PM
Odd Behavior of Epiphany Jeffmrg Slackware 2 09-09-2004 09:23 AM
RH 6.2 ... odd behavior jubal Linux - Networking 3 02-27-2001 10:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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