LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-19-2015, 01:51 PM   #1
spikeygg
Member
 
Registered: Dec 2004
Location: America
Distribution: Ubuntu
Posts: 42

Rep: Reputation: 0
dhcp update causes a martian source notice during dns record update


Hello LinuxQuestions.org,

I recently had my router machine die on me and I'm replacing it with a new one. I installed ubuntu on the new machine (the old installation was on debian). I have copied all my iptables firewall rules, dhcpd and bind / named configuration files in hopes that I could just drop them into the new server and everything would work. Unfortunately, that has not been the case.

Everything appears to be working okay but I noticed that when a machine powers up on the network it takes some extra time before windows detects that the system can talk to the internet. I reviewed the syslog and I see these martian source messages every time there's a dhcpd/dns update.

Code:
Jul 19 11:46:10 routeitx dhcpd: Dynamic and static leases present for 192.168.0.12.
Jul 19 11:46:10 routeitx dhcpd: Remove host declaration jane or remove 192.168.0.12
Jul 19 11:46:10 routeitx dhcpd: from the dynamic address pool for 192.168.0.0/24
Jul 19 11:46:10 routeitx dhcpd: DHCPREQUEST for 192.168.0.12 from 6c:f0:49:e1:99:29 via eth0
Jul 19 11:46:10 routeitx dhcpd: DHCPACK on 192.168.0.12 to 6c:f0:49:e1:99:29 via eth0
Jul 19 11:46:10 routeitx named[10155]: client 192.168.0.1#44942/key dhcpupdate: updating zone 'mynet/IN': update unsuccessful: Jane.mynet: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 19 11:46:10 routeitx named[10155]: client 192.168.0.1#44942/key dhcpupdate: signer "dhcpupdate" approved
Jul 19 11:46:10 routeitx named[10155]: client 192.168.0.1#44942/key dhcpupdate: updating zone 'mynet/IN': deleting rrset at 'Jane.mynet' A
Jul 19 11:46:10 routeitx named[10155]: client 192.168.0.1#44942/key dhcpupdate: updating zone 'mynet/IN': adding an RR at 'Jane.mynet' A
Jul 19 11:46:10 routeitx dhcpd: Added new forward map from Jane.mynet to 192.168.0.12
Jul 19 11:46:10 routeitx kernel: [41286.653192] IPv4: martian source 192.168.0.4 from 192.168.0.1, on dev eth0
Jul 19 11:46:10 routeitx kernel: [41286.653216] ll header: 00000000: ff ff ff ff ff ff 00 14 6c 41 48 c2 08 06        ........lAH...
Jul 19 11:46:10 routeitx named[10155]: client 192.168.0.1#44942/key dhcpupdate: signer "dhcpupdate" approved
Jul 19 11:46:10 routeitx named[10155]: client 192.168.0.1#44942/key dhcpupdate: updating zone '0.168.192.in-addr.arpa/IN': deleting rrset at '12.0.168.192.in-addr.arpa' PTR
Jul 19 11:46:10 routeitx named[10155]: client 192.168.0.1#44942/key dhcpupdate: updating zone '0.168.192.in-addr.arpa/IN': adding an RR at '12.0.168.192.in-addr.arpa' PTR
Jul 19 11:46:10 routeitx dhcpd: Added reverse map from 12.0.168.192.in-addr.arpa. to Jane.mynet
Jul 19 11:46:31 routeitx dhcpd: DHCPINFORM from 192.168.0.12 via eth0
Jul 19 11:46:31 routeitx dhcpd: DHCPACK to 192.168.0.12 (6c:f0:49:e1:99:29) via eth0
My iptables firewall is pretty extensive, I'm using a hacked iptables script similar to this one: http://www.net.co.at/doc/howto/docs/...g/iptables.txt.

I know I can disable the martian source messages but that doesn't seem like the correct approach here. I think it's telling me something is wrong with my setup but I don't know where to look. Any suggestions?

Thanks,
-Greg
 
Old 07-19-2015, 02:24 PM   #2
spikeygg
Member
 
Registered: Dec 2004
Location: America
Distribution: Ubuntu
Posts: 42

Original Poster
Rep: Reputation: 0
I'm dumb

please disregard this message, I just figured out my problem. I had previously set up a stop-gap netgear hardware router on my network to hold the position of my router machine while I completed the work to set it up. I, unfortunately, left it on the net work with the same IP address as my router machine so it was causing these problems as both routers were trying to do stuff and source DHCP requests. Anyway, at least the solution was a simple one. :P
 
  


Reply



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
DNS record update failed TheR_ Linux - Server 1 01-25-2013 04:42 AM
DHCP autoupdate DNS failing to update reverse DNS ScottChapman Linux - Networking 0 12-20-2008 07:42 PM
Update The DNS Server Record Dynamicaly javabb Linux - Software 1 01-05-2005 02:59 PM
Problem in update The DNS Server Record Dynamically javabb Linux - Newbie 1 01-05-2005 02:58 PM
Problem in Update The DNS Server Record Dynamicaly javabb Linux - Networking 0 01-05-2005 04:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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