Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dnscache ans Tinydns
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pikkumyy
n00b
n00b


Joined: 20 Nov 2002
Posts: 21
Location: Helsinki, Finland

PostPosted: Mon Jun 05, 2006 6:27 pm    Post subject: Dnscache ans Tinydns Reply with quote

I have dnscache set up and working fine. I also have tinydns working. Dnscache is bound to 192.168.0.1 and tinydns to 127.0.0.1.

I had in tinydns specified some hosts, such as example.com, to have internal ip address, say 10.0.0.1. In reality, it's address is 1.2.3.4.

When I query the address from a local network machine, if it's not yet cached by dnscache, it will ask for it from outside, getting 1.2.3.4 even though I have in dnscache settings places the tinydns machine, 127.0.0.1, as first DNS To go ask for.

How do I prioritize this so that queries for example.com always return 10.0.0.1 instead of the actual ip, 1.2.3.4? Meaning the local tinydns is always asked first and only after that the rest? I need to have the outside (real) DNSs also in dnscache's setup, so that valid name resolution works, I just need to be able to "overwrite" some addresses when queried from local network.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum