|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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 ![]() |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > tinydns for LAN and ADLS how to setup dnscache-/etc/resolv.conf ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|