Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #1115
| From | ibuprofin@painkiller.example.tld.invalid (Moe Trin) |
|---|---|
| Newsgroups | comp.os.linux.networking |
| Subject | Re: Is my home network set up right? |
| References | <4lmn19-ruo.ln1@myleafnode.oneyv.org> |
| Message-Id | <slrnjkkqof.76a.ibuprofin@compton.phx.az.us> |
| Date | 2012-02-26 11:25 -0600 |
On Sat, 25 Feb 2012, in the Usenet newsgroup comp.os.linux.networking, in
article <4lmn19-ruo.ln1@myleafnode.oneyv.org>, JimR wrote:
>I'd like to validate that my home network is set up in an optimal
>fashion, especially in how I am handling DNS. Some people recently
>have suggested that DNS may be at fault for some intermittent errors
>that I see.
No information on intermittent errors = no answer possible
>Here is how I am set up. The DNS set on the Linux machine may be
>redundant, since I hope that my router provides DNS to the house.
Meaning on laptop1 you can ask about laptop2 and the router provides
the DNS data - yeah, that's often the case, but it depends on how you
set up the router. Did you read the documentation about that?
>Cisco wired/wireless router/access point. I added Static DNS in there
>of 4.2.2.2 and 4.2.2.4 (I do not use my cable ISP's DNS since I have
>heard bad reports).
What kind of "bad reports"? Slow? Providing wrong answers? While
those two 4.2.2.x hosts are "public" DNS servers, it's usually smarter
to use your own. You have to also think that DNS servers "out there"
don't know anything about your local network, and will therefore return
NXDOMAIN if asked about them. That breaks things. You should be using
the appropriate tools to investigate your DNS problems - even something
like 'tcpdump', 'ethereal', or 'wireshark' will show _which_ DNS server
you are asking, and what response you are getting. There are also the
regular DNS testing tools:
[compton ~]$ whatis dig dnsquery host nslookup
dig (1) - send domain name query packets to name servers
dnsquery (1) - query domain name servers using resolver
host (1) - look up host names using domain server
nslookup (8) - query Internet name servers interactively
[compton ~]$
You may not have 'dnsquery' as it's old and deprecated. These tools
are part of the 'bind-utils' package, and are used to query name
servers. THEY IGNORE THE HOSTS FILE. All four tools can be told to ask
specific name servers, rather than the IPs listed in /etc/resolv.conf,
which can help isolate DNS problems.
>Main desktop computer runs Mandriva Linux x86_64, ethernet connection
>to router. Has gateway set up as the router's IP 192.168.1.1. Has DNS
>as 4.2.2.2 and 4.2.2.4.
DNS should be router only.
>/etc/resolve.conf has following:
>domain hsdl.mycableisp.net <== suspicious to me!
>search hsdl.mycableisp.net <== suspicious to me!
[compton ~]$ whatis resolver
resolver (5) - resolver configuration file
[compton ~]$
The DHCP server on the router is mis-configured.
>nameserver 192.168.1.1
>nameserver 4.2.2.2
>nameserver 4.2.2.4
DNS should be router only. This is also a DHCP server configuration
issue.
Old guy
Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is my home network set up right? JimR <NotReallyMyEmail@example.com> - 2012-02-25 13:42 -0500
Re: Is my home network set up right? Richard Kettlewell <rjk@greenend.org.uk> - 2012-02-25 19:03 +0000
Re: Is my home network set up right? JimR <NotReallyMyEmail@example.com> - 2012-02-25 14:46 -0500
Re: Is my home network set up right? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-02-25 23:00 +0100
Re: Is my home network set up right? JimR <NotReallyMyEmail@example.com> - 2012-02-26 11:18 -0500
Re: Is my home network set up right? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-02-26 20:09 +0100
Re: Is my home network set up right? Richard Kettlewell <rjk@greenend.org.uk> - 2012-02-26 19:53 +0000
Re: Is my home network set up right? General Schvantzkoph <schvantzkoph@yahoo.com> - 2012-02-27 15:49 +0000
Re: Is my home network set up right? ibuprofin@painkiller.example.tld.invalid (Moe Trin) - 2012-02-26 11:25 -0600
Re: Is my home network set up right? JimR <NotReallyMyEmail@example.com> - 2012-02-27 00:29 -0500
Re: Is my home network set up right? ibuprofin@painkiller.example.tld.invalid (Moe Trin) - 2012-02-27 21:31 -0600
csiph-web