i created a docker container based on
https://github.com/smdion/docker-containers/blob/master/Dockerfile-Template
my docker repo
https://registry.hub.docker.com/u/josywong/pdnsd/
my current pdsnd.conf
global {
perm_cache=4096;
cache_dir="/var/cache/pdnsd";
run_as="pdnsd";
server_ip =127.0.0.1;
status_ctl = on;
paranoid=on;
query_method=udp_tcp;
min_ttl=20s; // Retain cached entries at least 20 seconds.
max_ttl=1w; // One week.
timeout=1; // Global timeout option (1 seconds).
par_queries = 3; // number of simultaneous queries.
tcp_server=off;
run_ipv4=on;
neg_rrs_pol=on;
}
server {
label =OpenDNS;
ip=208.67.222.222;
ip=208.67.220.220;
uptest =ping;
interval = 30m; // Test every half hour.
ping_timeout = 300; // 30 seconds.
caching=on;
proxy_only=on;
lean_query=on;
timeout=30;
purge_cache = off;
exclude = .localdomain;
policy = included;
preset = off;
}
source {
owner=localhost;
serve_aliases=on;
file="/etc/hosts";
}
rr {
name=localhost;
reverse=on;
a=127.0.0.1;
owner=localhost;
soa=localhost,root.localhost,42,86400,900,86400,86400;
}
im getting this error in my log.
[code]*** Running /etc/my_init.d/firstrun.sh...
Using existing config file.
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 7
* 07/18 14:42:05| pdnsd: info: pdnsd-1.2.9a-par starting.
* 07/18 14:42:05| pdnsd: warning: Error: could not bind socket: Function not implemented.
Status readback will be impossible
Jul 18 14:42:05 d757f96122d9 syslog-ng[15]: syslog-ng starting up; version='3.5.3'
what am i missing ? or where should i fix it to get it working?
i have very little to none linux knowledge.
i got limited speed and quota internet. so this might going to help me together with polipo