DNS server's 404 screen

John Pierce john.j35 at gmail.com
Sat Sep 19 04:28:45 UTC 2009


On Fri, Sep 18, 2009 at 9:53 PM, Derek Broughton <derek at pointerstop.ca> wrote:
> Willy K. Hamra wrote:
>
>> Derek Broughton wrote:
>>> John Pierce wrote:
>>>
>>>> Why even bother with your isp's DNS servers.  It is linux, fire up
>>>> bind9 and configure it to be your dns server.
>>>
>>> Sure, that would work just fine.  My _router_ runs linux.  It runs a DNS
>>> server.  However it has no way around the satellite modem's built in DNS,
>>> so it still gets bad responses (if I try to lookup DNS on any other
>>> external
>>> DNS server, it gets rerouted to the satmodem).  I imagine I could figure
>>> out a way to force the router to try again once the satmodem has poisoned
>>> its cache, but it was too much trouble last time I looked.
>>>
>>> Perhaps it should be using TCPv6 lookups to opendns - I don't know if the
>>> satmodem can catch those.
>> it's even worse here. my own DNS queries are quite useless. i have bind9
>> installed as always, but my ISP uses a cache server. sometimes, my
>> browser does the DNS query, and connects to the website, just to receive
>> a DNS error from my ISP's squid. so basically, i query, then the ISP
>> does a query. and HIS query is what matters to see the page properly.
>> and no i can't switch, only ISP in this god forsaken land.
>
> Well, technically, you don't need to use your ISP's DNS, and there are free
> DNS servers around.  In my case, the hardware that connects me to the
> internet finds any TCP request to port 53, and redirects it to the internal
> DNS.  But I'd be surprised if any land-based ISP was doing that.
> --
> derek
>
>
> --
> kubuntu-users mailing list
> kubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>
This is a sample dig from my local machine:

eagle1 at linbook1:/etc/bind$ dig www.google.com

; <<>> DiG 9.5.1-P2 <<>> www.google.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14450
;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 6, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.                        IN      A

;; ANSWER SECTION:
www.google.com.         554313  IN      CNAME   www.l.google.com.
www.l.google.com.       300     IN      A       74.125.47.106
www.l.google.com.       300     IN      A       74.125.47.147
www.l.google.com.       300     IN      A       74.125.47.99
www.l.google.com.       300     IN      A       74.125.47.103
www.l.google.com.       300     IN      A       74.125.47.104
www.l.google.com.       300     IN      A       74.125.47.105

;; AUTHORITY SECTION:
l.google.com.           35906   IN      NS      f.l.google.com.
l.google.com.           35906   IN      NS      b.l.google.com.
l.google.com.           35906   IN      NS      a.l.google.com.
l.google.com.           35906   IN      NS      g.l.google.com.
l.google.com.           35906   IN      NS      e.l.google.com.
l.google.com.           35906   IN      NS      d.l.google.com.

;; Query time: 86 msec
;; SERVER: 192.168.1.80#53(192.168.1.80)
;; WHEN: Sat Sep 19 00:25:36 2009
;; MSG SIZE  rcvd: 244

And this is taken from my /etc/resolv.conf:

nameserver 192.168.1.80
nameserver 192.168.1.60
search local.net

When bind9 starts it uses the db.root file to prime the local name
server and I never worry about it.
I do not have to put up with slow isp servers and I have been doing
this for a number of years.


-- 
John
Registered Linux User 263680, get counted at
http://counter.li.org




More information about the kubuntu-users mailing list