Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

steve2470

(37,457 posts)
Fri Feb 17, 2012, 06:58 PM Feb 2012

Question about DNS queries

Hello all. I have OpenDNS.com, which enables me to regulate my son's internet surfing during study hours. On the opendns page for "all queries", some of the URL's I know he did and they are OK, some I did, and then the rest I'm not sure about.

I go to a lot of pages (here at DU for example) that contain links for Youtube, Facebook and Twitter. Here's my question: When you surf to a page with links, do all of the page's links do a DNS query or only some of them ? Thanks for your time.

Steve

7 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
Question about DNS queries (Original Post) steve2470 Feb 2012 OP
As far as I know... discntnt_irny_srcsm Feb 2012 #1
for example, the Facebook entries on the dns queries page steve2470 Feb 2012 #2
Some pages on a commercial site... discntnt_irny_srcsm Feb 2012 #3
yeah alot of things on a web page will lead to extra dns queries. limpyhobbler Feb 2012 #4
Generally, the query only happens when you click a link - HOWEVER... HopeHoops Feb 2012 #5
Many items on a web page will perform a DNS Query ChromeFoundry Feb 2012 #6
or Go Vols Feb 2012 #7

discntnt_irny_srcsm

(18,475 posts)
1. As far as I know...
Fri Feb 17, 2012, 07:18 PM
Feb 2012

...all web addresses not given by IP address are resolved to one either by 'hosts' file on the pc, a device on your LAN or by whatever names server you specify.

steve2470

(37,457 posts)
2. for example, the Facebook entries on the dns queries page
Fri Feb 17, 2012, 07:41 PM
Feb 2012

I can see my son going to Facebook one time to see if he can do it, and discovering it's blocked. According to the stats right now, Facebook.com has been requested 25 times and blocked each time.

I see a lot of entries that I'm sure he didn't request and I know I didn't request, and my only other explanation is the links on the pages I accessed requested those DNS lookups.

discntnt_irny_srcsm

(18,475 posts)
3. Some pages on a commercial site...
Fri Feb 17, 2012, 08:44 PM
Feb 2012

...will have an ad, banner or content that is sourced at another site. This may explain what you are seeing.

limpyhobbler

(8,244 posts)
4. yeah alot of things on a web page will lead to extra dns queries.
Sat Feb 18, 2012, 03:04 AM
Feb 2012

Any images on a page will generate a DNS lookup. The images aren't necessarily on the same server as the webpage so you might see a separate DNS request resolve the name for that site. That includes advertising content.

Same for any video or audio embedded content or flash applications, java applets, etc.


 

HopeHoops

(47,675 posts)
5. Generally, the query only happens when you click a link - HOWEVER...
Tue Feb 21, 2012, 12:28 PM
Feb 2012

As DU users often use Photobucket or another off-site image storage location, pages with an image link will do the DNS search in order to load the picture. The same is true with advertisements, and scripts can do their own queries. As for the ones in the link (like OpenDNS.com in your OP), by opening this page I am NOT causing a DNS query. If I click on your link, it will. The router should have a logging feature you can turn on. I generally leave it off unless I'm trouble-shooting because it slows everything down.

As for your son, if you're worried about porn, give it up. It's everywhere. All you have to do is turn off history and JavaScript while browsing and clear the recent files list when you're done and the computer looks just fine afterward. If you're using the router to monitor the activity, accept the reality unless you hit something like HairyPregnantHorseFuckers.com. That might indicate a problem. And yes, I made that one up. No clue if it exists or not and I'm not going to check.

I've had similar problems with my three daughters, but it is mostly games or social networking that's the problem. Restricting time, just shutting off the wireless entirely, and making them do their homework in an open area have all been marginally effective. It's their world now. I watched WAY too much bullshit like Gilligan's Island when I was a kid. That was my world. If the grades suffer, that's a major reason to get tough. If the grades are fine, just chill.











ChromeFoundry

(3,270 posts)
6. Many items on a web page will perform a DNS Query
Tue Feb 21, 2012, 06:20 PM
Feb 2012

Not only image src attributes and ad content, but references to stylesheets, javascript, iFrames, javascript prefetching, etc...

If you really want to know where the kiddies are going and what page caused the request... you'd need to set up a transparent proxy server and look at the log files. Your router would need to block port 80 and 443 from all internal IP addresses except for your proxy server. If you enable proxy caching, you might even get a slight performance increase.

Not sure if it's practical in your environment, but I can tell you from experience, the open source and free packages currently available for Linux, Windows and FreeBSD are nothing short of amazing and very easy to setup in less than an hour (if you have a spare workstation and know how to configure your router).

Latest Discussions»Help & Search»Computer Help and Support»Question about DNS querie...