[CentOS] Re: OT: anything in CentOS 5.2 that uses opendns.com when browsing web?

Thu Jul 10 21:53:37 UTC 2008
Scott Silva <ssilva at sgvwater.com>

on 7-10-2008 2:32 PM Lanny Marcus spake the following:
> On 7/10/08, Scott Silva <ssilva at sgvwater.com> wrote:
> <snip>
>> Try dig +trace emcali.net
>> It should show all servers "your" query goes through.
> 
> Scott: Please note that I added ".co" (for Colombia)   emcali.net.co
>  Is this showing which DNS Servers my DNS requests use, or, which DNS
> Servers serve their web site?  Also note that when I tried "dig
> +trace" or "dig trace" I got very abbreviated answers. Probably I
> don't have the syntax correct. Question: Is there another command I
> can use, to another web site (irs.gov  or something) that shows which
> DNS Servers I am using, to get to that web site? My wife is
> complaining, again, as I write this, so getting our own Caching DNS
> Server, ASAP,  has become a priority. When Colombian women are mad...
> :-)  TIA, Lanny
> 
When you set up your connection to your provider, do you have a static address 
or dynamic? If static, you had to set your next step resolver in the config. 
If you are dynamic, you get what your provider sends with the dhcp request.
Since you said you have an ipcop box for your router you should be able to ssh 
into it and run setup and change your nameserver setting to 127.0.0.1 and your 
ipcop should be a caching nameserver. If you have another address there it 
will query to that server.

I just tried it from one of my ipcop boxes and got a query all the way to the 
root servers;

  dig +trace gmail.com

; <<>> DiG 9.3.4-P1 <<>> +trace gmail.com
;; global options:  printcmd
.                       353305  IN      NS      E.ROOT-SERVERS.NET.
.                       353305  IN      NS      F.ROOT-SERVERS.NET.
.                       353305  IN      NS      G.ROOT-SERVERS.NET.
.                       353305  IN      NS      H.ROOT-SERVERS.NET.
.                       353305  IN      NS      I.ROOT-SERVERS.NET.
.                       353305  IN      NS      J.ROOT-SERVERS.NET.
.                       353305  IN      NS      K.ROOT-SERVERS.NET.
.                       353305  IN      NS      L.ROOT-SERVERS.NET.
.                       353305  IN      NS      M.ROOT-SERVERS.NET.
.                       353305  IN      NS      A.ROOT-SERVERS.NET.
.                       353305  IN      NS      B.ROOT-SERVERS.NET.
.                       353305  IN      NS      C.ROOT-SERVERS.NET.
.                       353305  IN      NS      D.ROOT-SERVERS.NET.
;; Received 376 bytes from 127.0.0.1#53(127.0.0.1) in 0 ms

com.                    172800  IN      NS      G.GTLD-SERVERS.NET.
com.                    172800  IN      NS      D.GTLD-SERVERS.NET.
com.                    172800  IN      NS      H.GTLD-SERVERS.NET.
com.                    172800  IN      NS      J.GTLD-SERVERS.NET.
com.                    172800  IN      NS      F.GTLD-SERVERS.NET.
com.                    172800  IN      NS      B.GTLD-SERVERS.NET.
com.                    172800  IN      NS      A.GTLD-SERVERS.NET.
com.                    172800  IN      NS      E.GTLD-SERVERS.NET.
com.                    172800  IN      NS      C.GTLD-SERVERS.NET.
com.                    172800  IN      NS      K.GTLD-SERVERS.NET.
com.                    172800  IN      NS      I.GTLD-SERVERS.NET.
com.                    172800  IN      NS      M.GTLD-SERVERS.NET.
com.                    172800  IN      NS      L.GTLD-SERVERS.NET.
;; Received 499 bytes from 192.203.230.10#53(E.ROOT-SERVERS.NET) in 23 ms

gmail.com.              172800  IN      NS      ns1.google.com.
gmail.com.              172800  IN      NS      ns2.google.com.
gmail.com.              172800  IN      NS      ns3.google.com.
gmail.com.              172800  IN      NS      ns4.google.com.
;; Received 170 bytes from 192.42.93.30#53(G.GTLD-SERVERS.NET) in 22 ms

gmail.com.              60      IN      A       209.85.171.83
gmail.com.              60      IN      A       64.233.171.83
gmail.com.              60      IN      A       64.233.161.83
gmail.com.              345600  IN      NS      ns1.google.com.
gmail.com.              345600  IN      NS      ns2.google.com.
gmail.com.              345600  IN      NS      ns3.google.com.
gmail.com.              345600  IN      NS      ns4.google.com.
;; Received 218 bytes from 216.239.32.10#53(ns1.google.com) in 44 ms



-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080710/fdbf6340/attachment-0005.sig>