[Pdns-users] Need a local dns and a caching for internet :(

David Asi dd at asi.fr
Fri Jul 11 15:45:03 UTC 2003


Hi all,

I didnt manage to make my own dns with powerdns.

world-federal-network.com is a local domain that i would like to manage localy for test ...
My server listen on 127.0.0.1 see what i get :

C:\Program Files\PowerDNS>host world-federal-network.com 127.0.0.1
Using domain server 127.0.0.1:
world-federal-network.com mail is handled (pri=25) by 127.0.0.1

it seem to be ok ...

C:\Program Files\PowerDNS>host www.world-federal-network.com 127.0.0.1
Using domain server 127.0.0.1:
Host not found, try again.

grrrr ....

see my records on mysql :
domains : 
id,name,master,last_check,type,notified_serial,account
1,world-federal-network.com,NULL,NULL,NATIVE,NULL,NULL

records :
id,domain_id,name,type,content,ttl,prio,change_date
34,1,*.shop.world-federal-network.com,A,127.0.0.1,120,0,NULL
31,1,mail.world-federal-network.com,A,127.0.0.1,120,0,NULL
24,1,ns1.world-federal-network.com,A,127.0.0.1,120,0,NULL
25,1,ns2.world-federal-network.com,A,127.0.0.1,120,0,NULL
21,1,world-federal-network.com,SOA,ns1.world-federal-network.com. ns2.world-federal-network.com. 2000081501 28800 7200 604800 86400,86400,0,NULL
22,1,world-federal-network.com,NS,ns1.world-federal-network.com,86400,0,NULL
23,1,world-federal-network.com,NS,ns2.world-federal-network.com,86400,0,NULL
33,1,world-federal-network.com,MX,127.0.0.1,120,25,NULL
30,1,www.world-federal-network.com,A,127.0.0.1,120,0,NULL

The recursor seems to work when 

C:\Program Files\PowerDNS>host www.yahoo.fr 127.0.0.1
Using domain server 127.0.0.1:
www.yahoo.fr is a nickname for www2.vip.lng.yahoo.com
www2.vip.lng.yahoo.com has address 217.12.3.11
www2.vip.lng.yahoo.com mail is handled (pri=1) by nomail.yahoo.com


See my conf file : 

# PDNS configuration file.
# Use NT logging when running as a service:

use-ntlog=yes

# Backends to launch at startup:

launch=godbc

godbc-datasource=myPowerDNS

# Launch a statistical webserver:

webserver=yes

webserver-port=8081

local-address=127.0.0.1

# my isp dns @

recursor=212.27.32.176

# EOF

I would be grateful, if someone has a sample conf file that works for what i want to do.



Thanks.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20030711/cbc33391/attachment.html>


More information about the Pdns-users mailing list