Can Puppy make its own DNS cache?

Using applications, configuring, problems
Post Reply
Message
Author
PaulBx1
Posts: 2312
Joined: Sat 17 Jun 2006, 03:11
Location: Wyoming, USA

Can Puppy make its own DNS cache?

#1 Post by PaulBx1 »

I have read that some attacks on the internet could come through DNS servers, so I was wondering if there was a way to set up an internal cache. I don't want to manually edit hosts or resolve.conf. What I want is some daemon that will capture the DNS requests that I make in my day-to-day browsing and over time build a list of resolved addresses, that can be used if my usual DNS servers go down for whatever reason.

I hope I have made sense. Is there anything out there like that? Not even sure what to call it, maybe dns cache server?

I've only found this one old thread.
http://www.murga-linux.com/puppy/viewto ... 92&t=10801
Do I have to go the BIND route to get what I want?
firak
Posts: 175
Joined: Mon 14 Apr 2008, 14:07

#2 Post by firak »

Interesting! Let see if someboady can suggest somthing. I' thecnically curios about that. but..... I do not belive can be a great solution. I think -if somboady will shotdown the dns servers, nothing will work properly . Tne websites, themself, inside the code and the javascrippt, cannot catc their own data, if they point to a www.mysite/page . I do not belive some haker desires to destroy internet. Is maybe a trolling message.
PaulBx1
Posts: 2312
Joined: Sat 17 Jun 2006, 03:11
Location: Wyoming, USA

#3 Post by PaulBx1 »

Here is one example of an application that does this

https://wiki.archlinux.org/index.php/Dnsmasq
User avatar
Terryphi
Posts: 761
Joined: Wed 02 Jul 2008, 09:32
Location: West Wales, Britain.

#4 Post by Terryphi »

PaulBx1,

I don't understand why you do not want to edit the hosts file. That would be a simple and effective solution.

Browsers temporarily cache the IP address of a domain when a page has been visited. For instance, Opera caches DNS for about 15 minutes.
[b]Classic Opera 12.16 browser SFS package[/b] for Precise, Slacko, Racy, Wary, Lucid, etc available[url=http://terryphillips.org.uk/operasfs.htm]here[/url] :)
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#5 Post by musher0 »

Hello, Paul and Terry.

Puppy is very secure, as you may already know. But, as an extra safeguard measure, for years now, I've been using the free MVPS HOSTS file from: http://winhelp2002.mvps.org/hosts.htm which I update every once and awhile.

Seems to fit the bill very nicely on Puppy. Never had a problem.
You simply replace the default /etc/hosts file in Puppy with the above.

Caveat: in the above, comment or delete any entry relating to legit Linux sites, such as the "die" site for man files.

Additionally, you can also subscribe to a free DNS service to satisfy your "paranoia" requirements. (smile)

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
User avatar
Terryphi
Posts: 761
Joined: Wed 02 Jul 2008, 09:32
Location: West Wales, Britain.

#6 Post by Terryphi »

Hello Christian,

I use the MVPS hosts list too and I recommend it. However, I think Paul is raising the different issue of 'DNS poisoning' where a DNS server is hacked. See http://en.wikipedia.org/wiki/DNS_spoofing .

Hosts file was originally intended as a local DNS record to do something like Paul wants: have IP addresses of his frequently visited sites cached locally so not to be reliant on an external DNS server. The only snag with this is if your favourite web site changes IP address your hosts file will send you to the old address!
[b]Classic Opera 12.16 browser SFS package[/b] for Precise, Slacko, Racy, Wary, Lucid, etc available[url=http://terryphillips.org.uk/operasfs.htm]here[/url] :)
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#7 Post by musher0 »

I see. Sorry for the wrong answer.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Post Reply