Re: [Pdns-users] changing root server to local DNS

2012-05-15 Thread Muhammad Yousuf Khan
Thanks bro. :) On Tue, May 15, 2012 at 8:34 PM, abang wrote: > Am 15.05.2012 17:16, schrieb Muhammad Yousuf Khan: >> >> but just one more question. i want my isp or my internal DNS server to be >> root. >> >> how can i stop powerDNS to query outside. i think my ISP DNS would be >> more good enoug

Re: [Pdns-users] changing root server to local DNS

2012-05-15 Thread abang
Am 15.05.2012 17:16, schrieb Muhammad Yousuf Khan: but just one more question. i want my isp or my internal DNS server to be root. how can i stop powerDNS to query outside. i think my ISP DNS would be more good enough See http://doc.powerdns.com/built-in-recursor.html#recursor-settings example

Re: [Pdns-users] changing root server to local DNS

2012-05-15 Thread Muhammad Yousuf Khan
but just one more question. i want my isp or my internal DNS server to be root. how can i stop powerDNS to query outside. i think my ISP DNS would be more good enough Thanks On Tue, May 15, 2012 at 8:04 PM, Muhammad Yousuf Khan wrote: > Thanks now things are a bit clear. i was confused i thought

Re: [Pdns-users] changing root server to local DNS

2012-05-15 Thread Muhammad Yousuf Khan
Thanks now things are a bit clear. i was confused i thought entry should retain according to my rule. but now the confusion is clear. :) THanks shthead and aband On Tue, May 15, 2012 at 7:47 PM, shthead wrote: > On 15/05/2012 10:35 PM, Muhammad Yousuf Khan wrote: >> >> nope it didnt work either >

Re: [Pdns-users] changing root server to local DNS

2012-05-15 Thread shthead
On 15/05/2012 10:35 PM, Muhammad Yousuf Khan wrote: nope it didnt work either ;; ANSWER SECTION: geo.tv. 60 IN A 194.28.157.30 Hi, This is expected as the record has a TTL of 60 seconds. That tells the DNS server to clear the record after that period. There

Re: [Pdns-users] changing root server to local DNS

2012-05-15 Thread abang
The ttl of geo.tv is 60s. So it works as designed. You can not increase the ttl of a RR in your cache. This is not allowed. But you can set a upper limit with max-cache-ttl. ^^^ Am 15.05.2012 16:35, schrieb Muhammad Yousuf Khan: nope it didnt work either ;; ANSWER SECTION: geo.tv.

Re: [Pdns-users] changing root server to local DNS

2012-05-15 Thread Muhammad Yousuf Khan
nope it didnt work either ;; ANSWER SECTION: geo.tv. 60 IN A 194.28.157.30 ;; Query time: 202 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Tue May 15 19:30:31 2012 ;; MSG SIZE rcvd: 40 root@proxy-prod-mirror:~# ^C root@proxy-prod-mirror:~# dig geo.tv ; <<>>

Re: [Pdns-users] changing root server to local DNS

2012-05-15 Thread abang
Try threads=1 Default is 2 which means you have two independent caches in your pdns process. Am 15.05.2012 16:06, schrieb Muhammad Yousuf Khan: ok, after searching internet i have found some of my answers but my question is still there. because there is a parameter # max-cache-ttl maximum

Re: [Pdns-users] changing root server to local DNS

2012-05-15 Thread Muhammad Yousuf Khan
On Tue, May 15, 2012 at 7:07 PM, abang wrote: > What you see is the DNS traffic initiated from tcpdump itself ;-) > > Try > # tcpdump -n ... :-) ok, thanks for that, would you please throw some light on cache entry retaliation time # max-cache-ttl maximum number of seconds to keep a cached ent

Re: [Pdns-users] changing root server to local DNS

2012-05-15 Thread abang
What you see is the DNS traffic initiated from tcpdump itself ;-) Try # tcpdump -n ... Am 15.05.2012 14:38, schrieb Muhammad Yousuf Khan: i want to mark the root server to my local server however powerdns is hitting j.root-server.net.domain but i want it to hit the local server secondly it is

Re: [Pdns-users] changing root server to local DNS

2012-05-15 Thread Muhammad Yousuf Khan
ok, after searching internet i have found some of my answers but my question is still there. because there is a parameter # max-cache-ttl maximum number of seconds to keep a cached entry in memory max-cache-ttl=2700 i set it to 45 minutes (2700 seconds) however even after few minutes it resets th

[Pdns-users] changing root server to local DNS

2012-05-15 Thread Muhammad Yousuf Khan
i want to mark the root server to my local server however powerdns is hitting j.root-server.net.domain but i want it to hit the local server secondly it is downloading too much data against just a single dig command you can see the output below. when i "dig nano.com" it start to contact with so ma