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:
  #1  
Old April 22nd, 2004, 11:47 AM
tzurtch tzurtch is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Lausanne Switzerland
Posts: 13 tzurtch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 28 m 59 sec
Reputation Power: 0
Red face tinydns for LAN and ADLS how to setup dnscache-/etc/resolv.conf ?

I've set up tinydns for my LAN, everything's fine assuming /etc/resolv.conf is well configured.

then i set up an external dns cache forwarding requeries to my ISP, everything is fine assuming ....

the problems come when I try to make them cohabitate

with /etc/resolv.conf
tinydns
ISP
internet ARP queries are very slow !

with /etc/resolv.conf
ISP
tinydns
I can't resolv LAN queries and I've got some ugly packets going out on the internet (my LAN ARP)


so I set up /etc/resolv.conf to point to dnscache.
fill dns cache's name servers list with my ISP and tinydns.

Now internet queries workes well but LAN queries are randomly resolved or not.

so what should I do ??

sorry for my english

Last edited by tzurtch : April 22nd, 2004 at 04:57 PM.

Reply With Quote
  #2  
Old April 23rd, 2004, 11:33 AM
tzurtch tzurtch is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Lausanne Switzerland
Posts: 13 tzurtch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 28 m 59 sec
Reputation Power: 0
I found

dear tzurtch,

assuming you LAN has "myDomain.casa" as nomain name, you should do ...

1) echo "YOUR_LAN_DNS_IP(tinydns)" > dnscache/root/servers/myDomain.casa

2) go in tinydns/root directory

3) add-ns myDomain.casa "YOUR_LAN_DNS_IP"

4) echo "ISP_DNS_IP" > dnscache/root/servers/@

5) echo "DNSCACHE_IP" > /etc/resolv.conf


so easy you stupid bastard !!!

Last edited by tzurtch : May 6th, 2004 at 09:25 AM.

Reply With Quote
  #3  
Old May 6th, 2004, 09:24 AM
tzurtch tzurtch is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Lausanne Switzerland
Posts: 13 tzurtch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 28 m 59 sec
Reputation Power: 0
Something more

I don't really know why, but for this above to work, you must set dnscache in not only forwarding mode.

echo "0" > /dnscache/env/FORWARDONLY

otherwisw arpa queries will fail ... but why

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > tinydns for LAN and ADLS how to setup dnscache-/etc/resolv.conf ?


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


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





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