[Pdns-users] Use recursor to block phishing

sysadmin sysadmin at mrgnetwork.com.br
Wed Jul 30 10:25:44 UTC 2008


And... follow the log:

Jul 30 07:17:53 [pdns_recursor] PowerDNS recursor 3.1.7 (C) 2001-2008 
PowerDNS.COM BV (Jul 20 2008, 23:16:13, gcc 4.2.2 (Gentoo 4.2.2 p1.0)) 
starting up
Jul 30 07:17:53 [pdns_recursor] PowerDNS comes with ABSOLUTELY NO WARRANTY. 
This is free software, and you are welcome to redistribute it according to 
the terms of the GPL version 2.
Jul 30 07:17:53 [pdns_recursor] Operating in 64 bits mode
Jul 30 07:17:53 [pdns_recursor] Reading random entropy from '/dev/urandom'
Jul 30 07:17:53 [pdns_recursor] Only allowing queries from: 127.0.0.0/8, 
10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10
Jul 30 07:17:53 [pdns_recursor] Will not send queries to: 127.0.0.0/8, 
10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10
Jul 30 07:17:53 [pdns_recursor] Parsing authoritative data for zone 'malware.' 
from file '/etc/powerdns/malware'
Jul 30 07:17:53 [pdns_recursor] Inserting rfc 1918 private space zones
Jul 30 07:17:53 [pdns_recursor] Listening for UDP queries on 10.1.1.140:53
Jul 30 07:17:53 [pdns_recursor] Not decreasing socket buffer size from 65536 
to 65000
Jul 30 07:17:53 [pdns_recursor] Listening for TCP queries on 10.1.1.140:53
Jul 30 07:17:53 [pdns_recursor] Done priming cache with root hints
Jul 30 07:17:53 [pdns_recursor] Calling daemonize, going to background
Jul 30 07:17:53 [pdns_recursor] Enabled 'epoll' multiplexer
Jul 30 10:17:53 [pdns_recursor] Set effective group id to 65534
Jul 30 10:17:53 [pdns_recursor] Set effective user id to 65534
Jul 30 10:18:01 [pdns_recursor] Refreshed . records



> Follow the recursor.conf:
>
> # Drop uid
> setuid=nobody
>
> # Drop gid
> setgid=nobody
>
> # Don't log queries
> quiet=on
>
> # Local IP address to bind to
> local-address=10.1.1.140
>
> # Local port to bind to
> local-port=53
>
> # Change root for safety
> chroot=/var/lib/powerdns
>
> # Bloqueia malware
> auth-zones=malware=/etc/powerdns/malware
>
>
> Regards,
>
> Marlon
>
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users




More information about the Pdns-users mailing list