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 09-18-2013, 08:53 PM   #1
techmom50
Member
 
Registered: Aug 2013
Posts: 36

Rep: Reputation: Disabled
dhcpd not adding forward map from all hosts


Quote:
dhcp is not adding all my hosts to the forward zone here is a snipit of the daemon.log
Code:
Sep 25 13:02:46 tux dhcpd: uid lease 192.168.1.175 for client 68:b5:99:40:e8:0d is duplicate on 192.168.1.0/24
Sep 25 13:02:46 tux dhcpd: DHCPREQUEST for 192.168.1.112 from 68:b5:99:40:e8:0d via eth0
Sep 25 13:02:46 tux dhcpd: DHCPACK on 192.168.1.112 to 68:b5:99:40:e8:0d via eth0
Sep 25 13:02:46 tux dhcpd: Added new forward map from ColorLaserJet.pacificcabinets.com. to 192.168.1.112
Sep 25 13:02:46 tux dhcpd: Added reverse map from 112.1.168.192.1.168.192.in-addr.arpa. to ColorLaserJet.pacificcabinets.com.
Sep 25 13:02:53 tux dhcpd: DHCPREQUEST for 192.168.1.43 from bc:30:5b:e2:eb:6d via eth0
Sep 25 13:02:53 tux dhcpd: DHCPACK on 192.168.1.43 to bc:30:5b:e2:eb:6d via eth0
Sep 25 13:02:53 tux dhcpd: Added reverse map from 43.1.168.192.1.168.192.in-addr.arpa. to Coeus.PacificCabinets.com
Quote:
as you can see my printer requested,acknowledged and then added a forward and reverse map, however the computer listed below that only added a reverse map. I have all devices on our network with static IP's configured in DHCPD.CONF could this have something to do with the global/zone options in my named.conf I understand the options listed under the zones take presidence over the global options I think this is where I am getting myself into trouble

NAMED.CONF
Code:
acl "xfer" {
        none;
};
acl "trusted" {192.168.1.0/24; 127.0.0.0/24; ::1/128;};

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; };
};

include "/etc/rndc.key";
controls {
        inet 127.0.0.1 port 953
        allow { 127.0.0.1; 192.168.1.50; ::1/128; } keys { "rndc-key";};
};

options {
        directory "/var/bind";
        pid-file "/var/run/named/named.pid";
        bindkeys-file "/etc/bind/bind.keys";
        listen-on-v6 { ::1; };
        listen-on port 53 { 127.0.0.1; 192.168.1.50; };
        allow-query { "trusted"; };
        allow-query-cache { "trusted"; };
        allow-recursion { "trusted"; };
        allow-transfer { "trusted"; };
        forward first;
        forwarders {
                64.126.133.1;
                64.126.155.1;
                66.82.4.8;
                205.162.184.2;
        };
};

zone "." {
        type hint;
        file "named.cache";
};

zone "pacificcabinets.com" IN {
        type master;
        file "/var/bind/pri/pacificcabinets.zone";
        allow-query { 192.168.1.0/24; };
        allow-transfer { "trusted"; };
        allow-update { 192.168.1.50; };
};

zone "1.168.192.in-addr.arpa" IN {
        type master;
        file "/var/bind/pri/192.168.1.rev";
        allow-query { 192.168.1.0/24; };
        allow-update { 192.168.1.50; };
};

zone "127.in-addr.arpa" IN {
        type master;
        file "/var/bind/pri/127.zone";
#        allow-update { key "rndc-key"; };
};

zone "localhost" IN {
        type master;
        file "/var/bind/pri/localhost.zone";
#       allow-update { key "rndc-key"; };
};
DHCPD.CONF
Code:
Modified 9/18/2013 to address some DDNS update issues
# dhcpd.conf created Sept. 9, 2013
# Address Pool
#192.168.1.1 192.168.1.25;                       # IP Addresses reserved for Switches, Routers & WiFi Devices (exclude from distribution)
#192.168.1.26 192.168.1.49;                      # IP Addresses reserved for Computers (exclude from distribution)
#192.168.1.50 192.168.1.65;                      # IP Addresses reserved for Servers (exclude from distribution)
#192.168.1.66. 192.168.1.109;                    # IP Addresses reserved for Computers (exclude from distribution)
#192.168.1.110 192.168.1.119;                    # IP Addresses reserved for Printers (exclude from distribution)
#192.168.1.120 192.168.1.219                     # IP Addresses ranges for distribution
#192.168.1.220 192.168.1.230;                    # IP Addresses reserved for Telecom (exclude from distribution)
#192.168.1.236 192.168.249;                      # IP addresses reserved for Security (exclude from distribution)
#192.168.1.251 192.168.1.255;                    # IP Addresses reserverd for Servers (exclude from distribution)

#dynamic DNS updates
ddns-update-style interim;
#ddns-ttl 1800;
ddns-domainname "pacificcabinets.com.";
ddns-rev-domainname "1.168.192.in-addr.arpa.";
ddns-updates on;
authoritative;
default-lease-time 600;
max-lease-time 7200;
update-static-leases on;
allow unknown-clients;
allow bootp;

subnet 192.168.1.0 netmask 255.255.255.0 {
        range 192.168.1.120 192.168.1.219;
        option netbios-name-servers 192.168.1.50;
        option netbios-node-type 8;
        #don't let clients modify their own A records
        allow client-updates;
        #options
        option subnet-mask 255.255.255.0;
        option broadcast-address 192.168.1.255;
        option domain-name "pacificcabinets.com";
        option domain-name-servers 192.168.1.50;
        option routers 192.168.1.52;
        option ntp-servers 192.168.1.53;
        update-conflict-detection false;

key "rndc-key" {
        algorithm hmac-md5;
        secret "secret";
};

        zone    PacificCabinets.com {
                primary tux.pacificcabinets.com;
                key "rndc-key";
        }
        zone    1.168.192.in-addr.arpa {
                primary tux.pacificcabinets.com;
                key "rndc-key";
        }
        zone    127.in-addr.arpa {
                primary 127.0.0.1;
                key "rndc-key";
        }
}
# SWITCHES & ROUTERS
host switch5acfbd {
hardware ethernet 08:17:35:5A:CF:BD;
fixed-address 192.168.1.5;
}
host switch5acf72 {
hardware ethernet 08:17:35:5A:CF:72;
fixed-address 192.168.1.6;
}
host Switch6 {
hardware ethernet 10:0D:7F:98:18:8D;
fixed-address 192.168.1.7;
}
host Switch7 {
hardware ethernet 00:21:70:A4:FC:BA;
fixed-address 192.168.1.8;
}
host PCIGuestRelay2 {
hardware ethernet 00:0D:54:99:F9:C4;
fixed-address 192.168.1.11;
}
# WiFi DEVICES .16-.24
#host PCIArea1Relay3  {
#hardware ethernet 00:0F:CB:9F:F8:7D;
#fixed-address 192.168.1.16;
#}
host PCIArea1Relay1 {
hardware ethernet 00:0D:54:99:F9:D4;
fixed-address 192.168.1.17;
}
host PCIArea1Relay2 {
hardware ethernet 24:DE:C6:C2:DA:30;
fixed-address 192.168.1.18;
}
host PCIArea1Relay5 {
hardware ethernet 24:DE:C6:C2:DA:AC;
fixed-address 192.168.1.19;
}
host PCIArea1Relay4 {
hardware ethernet 24:DE:C6:C2:DB:1D;
fixed-address 192.168.1.20;
}
host PCIArea1Relay6 {
hardware ethernet 24:DE:C6:C2:D8:52;
 fixed-address 192.168.1.21;
}
host PCIArea1Relay7 {
hardware ethernet 24:DE:C6:C2:DB:1F;
fixed-address 192.168.1.22;
}
host PCIArea2East {
hardware ethernet 24:DE:C6:C2:DA:F9;
fixed-address 192.168.1.23;
}
host PCIArea2West {
hardware ethernet 24:DE:C6:C2:DB:2B;
fixed-address 192.168.1.24;
}
# COMPUTERS
host GNA {
hardware ethernet 70:F1:A1:E3:E6:E0 ;
fixed-address 192.168.1.26;
}
host RHEA  {
 hardware ethernet D0:67:E5:EC:6B:02 ;
fixed-address 192.168.1.27;
}
host BEYLA {
hardware ethernet 00:22:19:25:E3:FF;
fixed-address 192.168.1.28;
}
host HERA {
hardware ethernet 00:1D:09:13:6A:AB;
fixed-address 192.168.1.29;
}
host DIERDRE {
hardware ethernet 00:D0:B7:49:7F:C1;
fixed-address 192.168.1.30;
}
host ANTARES {
hardware ethernet 00:11:11:91:68:C8;
fixed-address 192.168.1.31;
}
host ARES {
hardware ethernet 00:22:19:25:E3:F8;
fixed-address 192.168.1.32;
}
host ATHENA {
hardware ethernet 00:12:3F:79:0A:7C;
fixed-address 192.168.1.33;
}
host PANDION {
hardware ethernet 00:13:72:19:8D:9F;
fixed-address 192.168.1.34;
}
host HEMERA {
hardware ethernet 00:1A:A0:17:88:8B;
fixed-address 192.168.1.35;
}
host FORSETI-wired {
hardware ethernet 30:F9:ED:F2:C1:ED;
fixed-address 192.168.1.36;
}
host FORSETI {
hardware ethernet C4:85:08:69:16:8F;
fixed-address 192.168.1.37;
}
host ODYSSEUS {
hardware ethernet 00:13:72:19:8D:DF;
fixed-address 192.168.1.38;
}
host FREYJA {
hardware ethernet 00:22:FB:49:82:54;
fixed-address 192.168.1.39;
}
host SPLINTERCELL {
hardware ethernet 00:18:8B:82:D3:7F;
fixed-address 192.168.1.40;
}
host AETHER {
hardware ethernet 00:1E:C9:36:53:77;
fixed-address 192.168.1.41;
}
host HEL {
hardware ethernet 24:BE:05:17:95:DF;
 fixed-address 192.168.1.42;
}
host COEUS {
hardware ethernet BC:30:5B:E2:EB:6D;
fixed-address 192.168.1.43;
}
host CRONUS {
hardware ethernet BC:30:5B:E2:EB:83;
fixed-address 192.168.1.44;
}
host EOSTRE {
hardware ethernet 64:27:37:E0:22:C7;
fixed-address 192.168.1.45;
}
host PONTUS {
hardware ethernet D0:67:E5:E7:28:29;
fixed-address 192.168.1.46;
}
host HADES {
hardware ethernet 00:22:19:25:E3:FA;
fixed-address 192.168.1.47;
}
host BHX {
hardware ethernet 00:1A:D4:00:08:2B;
fixed-address 192.168.1.48;
}
host SCHELLING1 {
hardware ethernet 00:30:05:91:4F:72;
fixed-address 192.168.1.49;
}
host DEMETER {
hardware ethernet 00:13:72:06:4A:4B;
 fixed-address 192.168.1.66;
}
host EREBUS {
hardware ethernet 00:18:8B:82:E0:F7;
fixed-address 192.168.1.67;
}
host HESTIA {
hardware ethernet D0:67:E5:EC:6B:2E;
fixed-address 192.168.1.68;
}
host AGRON {
hardware ethernet 00:1D:09:29:36:12;
fixed-address 192.168.1.69;
}
host AGRON-XPMODE {
hardware ethernet 00:03;FF:2A:36:12;
fixed-address 192.168.1.70;
}
host ANANKE {
hardware ethernet D0:67:E5:EA:B7:58;
fixed-address 192.168.1.71;
}
host ANANKE-XPMODE {
hardware ethernet 00:03:FF:E7:B7:58;
fixed-address 192.168.1.72;
}
host REDSTAG-wired {
hardware ethernet 00:21:70:A4:FC:BA;
fixed-address 192.168.1.73;
host REDSTAG {
hardware ethernet 00:1F:3C:A2:0D:86;
fixed-address 192.168.1.74;
}
host HRETHA {
hardware ethernet BC:77:37:3F:73:C5;
fixed-address 192.168.1.76;
}
host LOKI {
hardware ethernet BC:30:5B:D8:FA:72;
fixed-address 192.168.1.77;
}
host LOKI-XPMODE {
hardware ethernet 00:03:FF:D9:FA:72;
fixed-address 192.168.1.78;
}
host DIONYSUS {
hardware ethernet 00:21:5C:59:DD:DB;
fixed-address 192.168.1.79;
}
host DIONYSUS-wired {
hardware ethernet 00:21:70:E7:8D:78;
fixed-address 192.168.1.80;
}
host ZEPHYRUS-wired {
hardware ethernet 00:19:B9:4E:37:DC;
fixed-address 192.168.1.81;
}
host ZEPHYRUS {
hardware ethernet 00:1A:92:2C:4B:C2;
fixed-address 192.168.1:82;
}
host DAMBACH-wired  {
hardware ethernet 00:1E:C9:05:4F:19;
fixed-address 192.168.1.83;
}
host DAMBACH {
hardware ethernet 00:1F:3B:30:85:73;
fixed-address 192.168.1.84;
}
host KUDU {
hardware ethernet 00:19:7D:1E:15:42;
 fixed-address 192.168.1.85;
}
host WARTHOG {
hardware ethernet B8:CA:3A:8B:44:32;
fixed-address 192.168.1.86;
}
host WARTHOG-XPMODE {
hardware ethernet 00:03:FF:88:44:32;
fixed-address 192.168.1.87;
}
host GEMSBUCK {
hardware ethernet B8:CA:3A:8B:D8:F7;
fixed-address 192.168.1.88;
}
host GEMSBUCK-XPMODE {
hardware ethernet 00:03:FF:8E:D8:F7;
fixed-address 192.168.1.89;
}
host ORYX {
hardware ethernet B8:CA:3A:8C:40:52;
fixed-address 192.168.1.90;
}
host ORYX-XPMODE {
hardware ethernet 00:03:FF:8F:40:52;
fixed-address 192.168.1.91;
}
host PEGASUS {
hardware ethernet 00:D0:B7:49:67:D3;
fixed-address 192.168.1.92;
}
#PRINTERS
host OfficeRicoh  {
hardware ethernet 00:26:73:1E:A1:EC;
fixed-address 192.168.1.110;
}
host ShopRicoh {
hardware ethernet 00:00:74:7D:AA:54;
fixed-address 192.168.1.111;
}
host ColorLaserJet {
hardware ethernet 68:B5:99:40:E8:0D:01:00:00;
fixed-address 192.168.1.112;
}
host NPI7E8605 {
hardware ethernet 00:21:5A:7E:86:05;
fixed-address 192.168.1.113;
}
host NPIDAE624 {
hardware ethernet 00:11:85:DA:E6:24;
fixed-address 192.168.1.114;
}
host DesignJet {
hardware ethernet 00:40:CA:A5:7F:75;
fixed-address 192.168.1.115;
}
host EngineeringLaserJet {
hardware ethernet 00:1B:78:1A:8A:C5;
fixed-address 192.168.1.116;
}
#SECURITY
host Camera1 {
hardware ethernet 90:02:A9:1D:98:27;
fixed-address 192.168.1.236;
}
host Camera2 {
hardware ethernet 90:02:a9:1d:97:28;
fixed-address 192.168.1.237;
}
host Camera3 {
hardware ethernet 90:02:a9:1d:98:30;
fixed-address 192.168.1.238;
}
host Camera4 {
hardware ethernet 90:02:a9:1d:98:17;
fixed-address 192.168.1.239;
}
host Camera5 {
hardware ethernet 90:02:a9:1d:97:cc ;
fixed-address 192.168.1.240;
}
host Camera6 {
hardware ethernet 90:02:a9:1d:98:2e ;
fixed-address 192.168.1.241;
}
host Camera7 {
hardware ethernet 90:02:a9:1d:97:8b;
fixed-address 192.168.1.242;
}
host Camera8 {
hardware ethernet 90:02:a9:1d:97:32;
fixed-address 192.168.1.243;
}
host Camera9{
hardware ethernet 90:02:a9:1d:97:fc;
fixed-address 192.168.1.244;
}
host Camera10 {
hardware ethernet 90:02:a9:1d:97:fe;
fixed-address 192.168.1.245;
}
host Camera11 {
hardware ethernet 90:02:a9:1d:98:18;
fixed-address 192.168.1.246;
}
host Camera12 {
hardware ethernet 90:02:a9:1d:97:d4;
fixed-address 192.168.1.247;
}
host Camera13 {
hardware ethernet 90:02:a9:1d:98:25;
fixed-address 192.168.1.248;
}
host Camera14 {
hardware ethernet 90:02:a9:1d:98:3c;
fixed-address 192.168.1.249;
}
ZONE FILES
Code:
pacificcabinets.zone

$ORIGIN pacificcabinets.com.
$TTL 1D
@               IN SOA  ns.pacificcabinets.com. root.pacificcabinets.com. (
                        912201398  ; serial
                        3H      ; refresh (3 hours)
                        1H      ; retry (1 hour)
                        1W      ; expire (1 week)
                        1D)     ; minimum (1 day)

pacificcabinets.com.    MX      10 webmail.pacificcabinets.
pacificcabinets.com.    TXT     "v=spf1 ip4:64.126.128.225/29 mx ptr mx:webmail.pacificcabinets.com ~all"
pacificcabinets.com.    NS      tux.pacificcabinets.com.
www.pacificcabinets.com.IN A    69.89.31.184
tux                     IN A    192.168.1.50
fulla                   IN A    192.168.1.51
hlin                    IN A    192.168.1.52
webmail          IN A    192.168.1.53
buri                    IN A    192.168.1.53
borr                   IN A    192.168.1.54
earth                 IN A    192.168.1.55
ubuntu             IN A    192.168.1.56
emperor          IN A    192.168.1.57
info                    IN A    192.168.1.251
euclid                IN A    192.168.1.252
git                       IN CNAME    ubuntu.pacificcabinet.com.
ies                      IN CNAME    euclid.pacificcabinets.com.


192.168.1.rev
$ORIGIN 1.168.192.in-addr.arpa.
$TTL 1D
@       IN SOA  ns.pacificcabinets.com. root.pacificcabinets.com. (
        422266817  ; serial
        3H      ; refresh
        1H      ; retry
        1W      ; expire
        1D)      ; minimum
                                )
@                       NS      tux.pacificcabinets.com.
50                      PTR     tux.pacificcabinets.com.
51                      PTR     fulla.pacificcabinets.com.
52                      PTR     hlin.pacificcabinets.com.
53                      PTR     buri.pacificcabinets.com.
54                      PTR     borr.pacificcabinets.com.
55                      PTR     earth.pacificcabinets.com.
56                      PTR     ubuntu.pacificcabinets.com.
57                      PTR     emperor.pacificcabinets.com.
251                     PTR     info.pacificcabinets.com.
252                     PTR     euclid.pacificcabinets.com.

127.zone
$ORIGIN 127.in-addr.arpa.
$TTL 1D
@                       1D IN SOA       localhost. root.localhost. (
                                        061220135       ; serial
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum

@                        1D IN NS        localhost.
1.0.0                   1D IN PTR       localhost.

Last edited by techmom50; 09-25-2013 at 04:36 PM. Reason: re posting better clarification
 
Old 09-19-2013, 07:33 AM   #2
heinblöd
Member
 
Registered: May 2004
Location: France
Distribution: Slackware Gentoo
Posts: 186

Rep: Reputation: 31
I don't really get what you are trying to do ...

Are you trying to publish your Zone 1.168.192.in-addr.arpa on your pacificcabinets.com NS ?
 
Old 09-19-2013, 12:22 PM   #3
techmom50
Member
 
Registered: Aug 2013
Posts: 36

Original Poster
Rep: Reputation: Disabled
Quote:
I am trying to get all my reservation that are listed in the DCHPD.conf to update correctly to DNS. This is a Name caching DNS server that is forwarding to our ISP. I have some of the reservation that update DNS however not all some only write only to the reverse zone and some to the forward zone & reverse zone. I will post some of the daemon log that shows both.
daemon.log
Code:
Sep 19 09:12:16 tux dhcpd: DHCPREQUEST for 192.168.1.48 from 00:1a:d4:00:08:2b via eth0
Sep 19 09:12:16 tux dhcpd: DHCPACK on 192.168.1.48 to 00:1a:d4:00:08:2b via eth0
Sep 19 09:12:16 tux dhcpd: Added reverse map from 48.1.168.192.1.168.192.in-addr.arpa. to BHX.PacificCabinets.com
Sep 19 09:12:17 tux dhcpd: DHCPREQUEST for 192.168.1.24 from 24:de:c6:c2:db:2b via eth0
Sep 19 09:12:17 tux dhcpd: DHCPACK on 192.168.1.24 to 24:de:c6:c2:db:2b via eth0
Sep 19 09:12:17 tux dhcpd: Added new forward map from PCIArea2West.pacificcabinets.com. to 192.168.1.24
Sep 19 09:12:17 tux dhcpd: Added reverse map from 24.1.168.192.1.168.192.in-addr.arpa. to PCIArea2West.pacificcabinets.com.
Quote:
It reads dhcp did not add new forward map from BHX.pacificcabinets.com to 192.168.48 (The DHCP lease files are writing ok.)
I should point out that the PC clients are Windows 7, W2K and Windows XP computers. Our switches are mainly dell and only our phone system is Cisco at it seems only one Cisco switch is updating. I am wondering if I am missing an option in DHCP that i just cannot see.

Last edited by techmom50; 09-19-2013 at 12:24 PM.
 
Old 09-20-2013, 10:35 AM   #4
heinblöd
Member
 
Registered: May 2004
Location: France
Distribution: Slackware Gentoo
Posts: 186

Rep: Reputation: 31
Sorry I can't help, for me it looks like you want to publish local zones to a public NS ... so I guess I don't get the point

Last edited by heinblöd; 09-20-2013 at 10:36 AM.
 
Old 09-23-2013, 07:22 AM   #5
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
I don't like the idea of DDNS updates so I don't use them but something did stick out for me and that was this line in your zone files :-

Code:
@                       NS      tux.pacificcabinets.
Pretty sure you want a com. on the end of that.
 
Old 09-25-2013, 04:01 PM   #6
techmom50
Member
 
Registered: Aug 2013
Posts: 36

Original Poster
Rep: Reputation: Disabled
Thanks for pointing the com. out for me I will correct. I guess I should have put this out as two separate issues I will re post them as such.
 
Old 09-25-2013, 04:57 PM   #7
techmom50
Member
 
Registered: Aug 2013
Posts: 36

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by heinblöd View Post
I don't really get what you are trying to do ...

Are you trying to publish your Zone 1.168.192.in-addr.arpa on your pacificcabinets.com NS ?
[Quote=Newbee 12] I am replacing a W2K3 server that was our DNS/DHCP server to Linux.[quote]
 
Old 10-09-2013, 05:30 PM   #8
techmom50
Member
 
Registered: Aug 2013
Posts: 36

Original Poster
Rep: Reputation: Disabled
DHCP file was in need of some fixing i went line by line until i got it working.

[QUOTE=techmom50;5030344]
Code:
Sep 25 13:02:46 tux dhcpd: uid lease 192.168.1.175 for client 68:b5:99:40:e8:0d is duplicate on 192.168.1.0/24
Sep 25 13:02:46 tux dhcpd: DHCPREQUEST for 192.168.1.112 from 68:b5:99:40:e8:0d via eth0
Sep 25 13:02:46 tux dhcpd: DHCPACK on 192.168.1.112 to 68:b5:99:40:e8:0d via eth0
Sep 25 13:02:46 tux dhcpd: Added new forward map from ColorLaserJet.pacificcabinets.com. to 192.168.1.112
Sep 25 13:02:46 tux dhcpd: Added reverse map from 112.1.168.192.1.168.192.in-addr.arpa. to ColorLaserJet.pacificcabinets.com.
Sep 25 13:02:53 tux dhcpd: DHCPREQUEST for 192.168.1.43 from bc:30:5b:e2:eb:6d via eth0
Sep 25 13:02:53 tux dhcpd: DHCPACK on 192.168.1.43 to bc:30:5b:e2:eb:6d via eth0
Sep 25 13:02:53 tux dhcpd: Added reverse map from 43.1.168.192.1.168.192.in-addr.arpa. to Coeus.PacificCabinets.com


[/code]
DHCPD.CONF
[Code]Modified 9/18/2013 to address some DDNS update issues
# dhcpd.conf created Sept. 9, 2013
# Address Pool
#192.168.1.1 192.168.1.25; # IP Addresses reserved for Switches, Routers & WiFi Devices (exclude from distribution)
#192.168.1.26 192.168.1.49; # IP Addresses reserved for Computers (exclude from distribution)
#192.168.1.50 192.168.1.65; # IP Addresses reserved for Servers (exclude from distribution)
#192.168.1.66. 192.168.1.109; # IP Addresses reserved for Computers (exclude from distribution)
#192.168.1.110 192.168.1.119; # IP Addresses reserved for Printers (exclude from distribution)
#192.168.1.120 192.168.1.219 # IP Addresses ranges for distribution
#192.168.1.220 192.168.1.230; # IP Addresses reserved for Telecom (exclude from distribution)
#192.168.1.236 192.168.249; # IP addresses reserved for Security (exclude from distribution)
#192.168.1.251 192.168.1.255; # IP Addresses reserverd for Servers (exclude from distribution)

#dynamic DNS updates
ddns-update-style interim;
#ddns-ttl 1800;
ddns-domainname "pacificcabinets.com.";
ddns-rev-domainname "1.168.192.in-addr.arpa.";
ddns-updates on;
authoritative;
default-lease-time 600;
max-lease-time 7200;
update-static-leases on;
allow unknown-clients;
allow bootp;

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.120 192.168.1.219;
option netbios-name-servers 192.168.1.50;
option netbios-node-type 8;
#don't let clients modify their own A records
allow client-updates;
#options
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option domain-name "pacificcabinets.com";
option domain-name-servers 192.168.1.50;
option routers 192.168.1.52;
option ntp-servers 192.168.1.53;
update-conflict-detection false;

key "rndc-key" {
algorithm hmac-md5;
secret "secret";
};

zone PacificCabinets.com {
primary tux.pacificcabinets.com;
key "rndc-key";
}
zone 1.168.192.in-addr.arpa {
primary tux.pacificcabinets.com;
key "rndc-key";
}
zone 127.in-addr.arpa {
primary 127.0.0.1;
key "rndc-key";
}
}

host idontknow {
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 192.168.1.xxx;
}
 
  


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
No Reverse-DNS (PTR) is assigned to IP agriz Linux - Server 4 06-25-2013 04:27 AM
BIND - reverse dns queries only working locally, forward dns works fine. SloS13 Linux - Networking 3 08-25-2011 01:46 PM
Forward DNS lookup to different DNS Servers ghight Linux - Networking 2 09-28-2006 06:54 AM
reverse DNS lookup mimithebrain Linux - Networking 5 06-08-2006 09:28 AM
dns server can't lookup external zones dskny Linux - Software 0 11-17-2004 10:41 PM

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

All times are GMT -5. The time now is 09:21 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
Open Source Consulting | Domain Registration