LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-06-2012, 02:19 PM   #1
royboy626
LQ Newbie
 
Registered: Jun 2007
Location: North Carolina, USA
Posts: 7

Rep: Reputation: 0
2wire/AT&T router - LAN DNS table lookup error?


I have a Pace 2wire router with AT&T Internet service. It is a
3800HGV-B with software version 6.3.7.50-plus.tm

I believe this hardware/software to have a DNS lookup table error, but would be happy for someone to inform me otherwise. I am having problems with client/server programs such as Mythtv and BackupPC. Computers are turned off overnight, some unused for days. In summary, all computers have access to the Internet (ifconfig matches information from the 2wire). However the last computer booted always returns 127.0.0.1 from the "host <computername>" command and "host 127.0.0.1" always returns the name of the last computer booted.

Computer names displayed in the router are picked up from each respective machine and LAN addresses are assigned via DHCP. When computers are shut down for 14 to 24 hours the 2wire's information on LAN computers clears (DNS TTL expires the tables?). I can jumble the boot order and the last machine booted always returns 127.0.0.1 from the "host <computername>" command. I can boot a computer with a Linux Live OS and get the same results. All computers give results similar to below.

I believe the DNS tables created by the 2wire route for the LAN are flawed. Even if I had somehow misconfigured the 2wire, that still would not explain the localhost address jumping to the most recently booted computer. Using a Linux Live OS would seem to eliminate computer misconfigurations on my machines.

When you (perhaps) know more about the problem than tech support and your problem is not on their sheet, they are helpless to assist you. My best option seems to be to run my own DNS server, authoritative for my LAN.

I need help from the community. A total reset of the router is in order (but not until the Olympics are concluded, under threat of death) and I will report results.

**** Can someone tell where my reasoning is in error, and if so, where the true problem lies?

**** Is there anyone out there with a 2wire router willing to test? What does "host 127.0.0.1" return? Can you shut down computers until the "Home Network Devices" table on the router clears them, boot a machine, and see if "host <computername>" returns 127.0.0.1 ? Boot another and does the previously booted computer now return a valid LAN address from "host <computername>" ?

If I am right and others can confirm, it will carry more weight. If I am wrong I will keep my head down and keep quiet.

Thank you for reading this too long post.

* 1) $ host laptop1
laptop1.gateway.2wire.net has address 127.0.0.1

2) $ host pcOK
pcOK.gateway.2wire.net has address 192.168.1.66

2wire reports under Home->"Home Network Devices"
cisco (the AT&T box)
pcOK
laptop1

A) $ host 127.0.0.1
1.0.0.127.in-addr.arpa domain name pointer laptop1

boot pc1 ----------------------

1a) $ host laptop1
laptop1.gateway.2wire.net has address 192.168.1.64

2a) $ host pcOK
pcOK.gateway.2wire.net has address 192.168.1.66

* 3a) $ host pc1
pc1.gateway.2wire.net has address 127.0.0.1

Aa) $ host 127.0.0.1
1.0.0.127.in-addr.arpa domain name pointer pc1.

boot pc2 ---------------------

1b) $ host laptop1
laptop1.gateway.2wire.net has address 192.168.1.64

2b) $ host pcOK
pcOK.gateway.2wire.net has address 192.168.1.66
Host pcOK.gateway.2wire.net not found: 4(NOTIMP)

3b) $ host pc1
pc1.gateway.2wire.net has address 192.168.1.72

* 4b) $ host pc2
pc2.gateway.2wire.net has address 127.0.0.1

Ab) $ host 127.0.0.1
1.0.0.127.in-addr.arpa domain name pointer pc3.
 
Old 08-07-2012, 12:04 AM   #2
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
You don't mention what OS you are using, but most have a caching DNS server that you would surely be interested in. Set your own preferred upstream lookups, bypassing the 2wire.

DHCP gets its lookup table from the upstream host, so your 2Wire is getting its DNS info from your ISP as it too uses DHCP.

My philosopy is don't fight City Hall. It is much easier just to go around them. Use a caching DNS server, specify your preferred DNS provider ( google is 8.8.8.8 ) and your off to watch Myth TV instead of getting grey hair.

It really is dead easy:

https://help.ubuntu.com/community/BI..._configuration
 
Old 08-07-2012, 03:32 PM   #3
royboy626
LQ Newbie
 
Registered: Jun 2007
Location: North Carolina, USA
Posts: 7

Original Poster
Rep: Reputation: 0
Re:ceyx

Your post is spot on. As I stated, I indeed will be running a DNS server and have begun the process. However it is an additional security risk to fix what should not be a problem in the first place (if my theory is correct). I really appreciate the link. Thanks for the prompt reply.

I am also crazy enough to care about Grandmother and Linux Newbie, new to GNU/Linux, perhaps finding it frustrating because something does not work which may not be the fault GNU/Linux. If someone could confirm my experience is not a solitary one, it would be great.

I am using Fedora, Linux Mint, and Mepis.
 
Old 02-08-2013, 03:19 PM   #4
royboy626
LQ Newbie
 
Registered: Jun 2007
Location: North Carolina, USA
Posts: 7

Original Poster
Rep: Reputation: 0
SOLVED - 2wire/AT&T router local network DNS resolution

Wanted to close this thread.

A hard reboot of the router fixed the problem, but of course blew away all the user settings.

It just went screwy on me again. I had computer "A" listed twice, once for wireless (.67) and once for wired (.72). when I did a 'host "A"' it returned an IP address of .71 which corresponds to no device/computer on the network. I had to clear the device list on the router and start over (no hard reboot). 99.99 percent of users probably have no problems. However if you run client/server programs, I recommend avoiding the 2wire/AT&T router until they allow you to turn off their local DNS resolution and run some real DNS software, or fix the local network DNS resolution. One man's opinion (and open to being told I am wrong). EOF
 
Old 08-27-2015, 03:23 PM   #5
royboy626
LQ Newbie
 
Registered: Jun 2007
Location: North Carolina, USA
Posts: 7

Original Poster
Rep: Reputation: 0
Final Solution:
Several of my LAN computers did not have an /etc/dhcp/dhclient.conf file. A one-liner in this file of: send dhcp-client-identifier = hardware;
fixed my problem for good (many months problem free). The above one-liner is surely too simple, but has cured all my problems with LAN IP address assignments via DHCP. If you have DHCP clients on your LAN, I strongly urge you to ensure all clients have a dhclient.conf file.
 
  


Reply

Tags
dns, hardware, lan, networking



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
[SOLVED] Cannot connect to Internet with AT&T 2WIRE wireless router Johndcart Linux - Networking 2 10-07-2010 11:34 AM
ubuntu & 2wire router internet prob wayne212 Linux - Newbie 1 11-22-2007 06:01 AM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM
Home network router DNS table nedlud Linux - Networking 2 10-04-2004 01:51 PM
Using the wireless router for DNS lookup waynehapp Linux - Wireless Networking 1 01-24-2004 03:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:03 PM.

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