DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Lose your application development headaches. Start developing and deploying applications with Advantage Database Server today. Download a 30-day trial for Free!
  #1  
Old March 21st, 2002, 06:47 PM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
don't understand DNS with djndns...

Let's say, I am pretty lost with understand how DNS works.. I wanted to install and use djbdns, so do I have to use dnscache to make tinydns works? Because, it said that dnscache and tinydns can't have same IP, so I only has one static IP and a box.

From what I understand follows:

Install daemontools then create /var/service and copy startup script & put in rc.d..

1) Install djbdns
2) create three user (djncache, tinydns and dnslog) with no login in djbdns group.
3) follow http://cr.yp.to/djbdns/faq/cache.html#config
4) follow http://cr.yp.to/djbdns/faq/tinydns.html#config
5) edit /etc/resolv.conf
6) edit /etc/namedb/namedb.conf .. should I bother namedb.root too?

setup ns.domain.com in my domain's setting..

That's all?

I think, I am going to start all over again and read then try it again to see if I will understand it more clearly..

Thanks,
Mezz

Reply With Quote
  #2  
Old March 21st, 2002, 07:06 PM
MattWil MattWil is offline
YaBN (Yet another BSD Newbie)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 74 MattWil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
If you can't use the same ip, I'm personally not sure why, why don't you setup dnscache with 127.0.0.1. Is this computer a gateway for a network that needs dnscache to resolve domains? I was setting this up at school and found this tutorial the most helpful yet. Just to get started with it, after that you need to go to www.lifewithdjbdns.org to see how to add domains and everything.

Here's the link:

http://matt.simerson.net/computing/...s-freebsd.shtml
__________________
-MattWil

Reply With Quote
  #3  
Old March 23rd, 2002, 09:15 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> so do I have to use dnscache to make tinydns works?

No. dnscache is caching nameserver for /etc/resolv.conf. You can never put tinydns's authoritative nameserver into /etc/resolv.conf.

If you run tinydns for a domain to be reachable by others, you need to run it on your external IP, and on UDP 53, no others. Then you can't run dnscache on UDP 53 any longer because it's already in use by tinydns.
Though you can run dnscache on 127.0.0.1 but that's DNS queriable only within the same box (LAN machines can't).
If you run dnscache on 192.168.0.1, you need to run multiple tinydns (if you read my other posts, I called that localdns instead), one for external and one for 192.168.0.x. You don't need to run master+slave for localdns, since it's for local-use only.
Because running tinydns on LAN requires you to use 192.168.0.1 as well, therefore localdns can't coexist with dnscache on the same IP (192.168.0.1). If you don't have another box for localdns, you can set alias to your NIC to create 192.168.0.2 for that.

Reply With Quote
  #4  
Old March 24th, 2002, 01:16 PM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
ok, thanks! All I will using tinydns just to reach my domain, that's all..

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > don't understand DNS with djndns...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway