You are not logged in.
At work I connect to a VPN. To resolve hostnames in that VPN, a nameserver is pushed. When I run drill @NAME.SERVER.IP.ADD HOSTNAME, the correct IP address is returned. When I do ping HOSTNAME, the name cannot be resolved however. I am using pdnsd to locally cache DNS entries. My pdnsd.conf looks like this
global {
perm_cache=1024;
cache_dir="/var/cache/pdnsd";
# pid_file = /var/run/pdnsd.pid;
run_as="pdnsd";
server_ip = 127.0.0.1; # Use eth0 here if you want to allow other
# machines on your network to query pdnsd.
status_ctl = on;
# paranoid=on; # This option reduces the chance of cache poisoning
# but may make pdnsd less efficient, unfortunately.
query_method=udp_tcp;
min_ttl=15m; # Retain cached entries at least 15 minutes.
max_ttl=1w; # One week.
timeout=10; # Global timeout option (10 seconds).
neg_domain_pol=on;
udpbufsize=1024; # Upper limit on the size of UDP messages.
}
server {
label= "resolvconf";
file = "/etc/pdnsd-resolv.conf"; # Preferably do not use /etc/resolv.conf
proxy_only=on;
timeout=4;
uptest=if;
interface = wlp4s0;
interval=10; # Check the interface every 10 seconds.
purge_cache=off;
preset=off;
}
/etc/pdnsd-resolv.conf contains the pushed nameserver address.
/etc/resolv.conf contains nameserver 127.0.0.1.
/etc/resolvconf.conf contains:
# Configuration for resolvconf(8)
# See resolvconf.conf(5) for details
#resolv_conf=/etc/resolv.conf
name_servers=127.0.0.1
pdnsd_resolv=/etc/pdnsd-resolv.conf
# If you run a local name server, you should uncomment the below line and
# configure your subscribers configuration files below.
#name_servers=127.0.0.1
My understanding of the whole name resolution process/VPN is probably very limited. Does anyone have an idea what I might be doing wrong, or point me in the correct direction to further debug my problem?
Thanks in advance!
Offline