LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-22-2007, 07:25 AM   #1
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 582

Rep: Reputation: 31
Angry DNS Djbdns Choice Problem


Hello all expert Unix user, i truly new to UNix. I have read the djbdns website but i found out that his website is very confused.

What i want : DNS Caching only, no authoritiative via udp or tcp. Due to slow network performance, i want dns caching saved in disk, query by LAN and saved it in disk. I don't want to query anymore for frequent visit website from my ISP. I want faster connection
From the website :

1. How to run a cache on workstation
2. How to run a forwading cache on a home computer.
I don't know the difference between these two. Sorry for my confused due to my stupidity. I hope you all can help me out.


I think i should choose the second options but this section i not veru understand.
If your computer is running dhcp client to obtain a dynamically assigned ip address from your ISP, and if your dhcp client cannot be configured to make external dns cache information available to dnscache , then use workstation. I don't know whether i able to configure my /etcdhcpclient.conf. Maximum TTL is 3 days but i want save the information rougly 1 week.

http://cr.yp.to/djbdns.html

There are many options in this website
How to run a cache on a workstation
How to run a computer without a cache
How to run a forwarding cache on a home computer
How to run an external cache for your network
How to run an external forwarding cache

I think i need to choose one from theses.

By the way, i using openbsd 4.1 as gateway. I need my LAn to query from this gateway.


If i choose second options, can i repeat the step of 5 and 6 for various external dns cache even though that is not my ISP dns cache server.

Thanks. Which one should i choose ?
Thanks for your help. Your help is greatly appreciated by me and others
 
Old 12-23-2007, 01:40 AM   #2
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 582

Original Poster
Rep: Reputation: 31
Please help me. Any idea. I need your help.
 
Old 12-23-2007, 02:27 AM   #3
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 582

Original Poster
Rep: Reputation: 31
Please help me.
 
Old 12-23-2007, 08:06 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Although I don't think DNS queries are your problem and will speed up your connection any faster, I'd suggest just setting up a local caching DNS Nameserver for your machines to use. And top of that, if you really want to speed up websites from loading, ask your ISP if they have a proxy server to use or setup your own even, that caches web pages you visit for quicker load times.

And please stop replying to your own thread begging for help. You should realize that this forum has autobump features for threads with 0 replies and you need to give users more time. It's the Holidays, forums don't have as much traffic and this is a free site, where members come to help others in their own free and spare time. Be polite and patient, might be 2 minutes for a reply, might be 2 years, who knows.
 
Old 12-28-2007, 10:48 PM   #5
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 582

Original Poster
Rep: Reputation: 31
How to run an external cache for your network
How to run an external forwarding cache

I think i need to choose from these two options.

My quesion is how to make dhclient information to dnscache ?

Can i run djbdns in multiple address because i have two interfac ?

thanks.
 
Old 12-28-2007, 10:55 PM   #6
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 168Reputation: 168
There's a useful (although a little old) howto for DNS at http://www.tldp.org/HOWTO/DNS-HOWTO.html. It uses BIND rather than djbdns, but it may give you the general info you're looking for.
 
Old 12-29-2007, 12:49 AM   #7
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 582

Original Poster
Rep: Reputation: 31
I have read that but didn't find any answers related to my question.
 
Old 12-29-2007, 08:45 PM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Quote:
Originally Posted by Peter_APIIT View Post
How to run an external cache for your network
How to run an external forwarding cache

I think i need to choose from these two options.

My quesion is how to make dhclient information to dnscache ?

Can i run djbdns in multiple address because i have two interfac ?

thanks.
I still think a proxy server with cache is your best option to save bandwidth, etc. DNS queries really aren't that resource and will slow your network connectivity that much.

And yes, tinydns can work on multiple interfaces, just like Bind can as well.
 
Old 01-01-2008, 08:46 PM   #9
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 582

Original Poster
Rep: Reputation: 31
Thanks for oyur suggestions. I also have squid running in my box. I don't need any tinydns since this is a authoriative. I just need dnscache.
Thanks for your help.
 
Old 01-02-2008, 02:08 AM   #10
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 582

Original Poster
Rep: Reputation: 31
I have google a patch called jumbo patch which contain 13 patch from internet where i foun it very useful to us.
I wonder where can i download this package and how to apply this patch.
I haven't configure my djbdns yet.
Thanks for your help.
 
Old 01-02-2008, 02:59 AM   #11
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 582

Original Poster
Rep: Reputation: 31
I try to configure the dnscache but return some weird error which is as below :
When i try dnscache-conf dnscache dnslog /etc/dnscache 176.16.10.1 return me that second account dnslog fatal and exit immediately.
Why wrong with it? I using openbsd 4.1
 
Old 01-02-2008, 09:19 AM   #12
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Does the group dnslog exist on the machine your setting this up on? Should be getting logged somewhere to find out what it's determining as fatal.
 
Old 01-03-2008, 10:36 PM   #13
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 582

Original Poster
Rep: Reputation: 31
I didn't create any dnslog group.
 
Old 01-05-2008, 12:00 AM   #14
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 582

Original Poster
Rep: Reputation: 31
As far as i know, some application required a specific user to run it except root.
Can u tell me what to do now and why this happen ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Creating A DNS Cache With djbdns LXer Syndicated Linux News 0 05-07-2007 09:31 AM
Setting up a dns server with djbdns Luc484 Linux - Networking 9 08-15-2006 12:25 PM
djbDNS - dns server unkn0wn Linux - Networking 0 04-08-2006 02:36 AM
What can djbdns, (or any DNS Server/cacher) do for me? Gsee *BSD 32 01-05-2005 07:42 AM
dns: bind/djbdns koningshoed Linux - Security 8 08-09-2002 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration