LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   2wire/AT&T router - LAN DNS table lookup error? (http://www.linuxquestions.org/questions/linux-hardware-18/2wire-at-and-t-router-lan-dns-table-lookup-error-4175420691/)

royboy626 08-06-2012 03:19 PM

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.

ceyx 08-07-2012 01:04 AM

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

royboy626 08-07-2012 04:32 PM

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.

royboy626 02-08-2013 04:19 PM

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


All times are GMT -5. The time now is 02:06 PM.