Remove dnsfix

This was there to workaround an issue with vmnet, not applicable now.
A user reported that they were getting unexpected 8.8.8.8 addresses
and it could possible be applied erroneously under some circumstances.

Signed-off-by: Justin Cormack <justin@specialbusservice.com>
This commit is contained in:
Justin Cormack
2016-07-19 10:04:09 +01:00
parent e53116e40c
commit 3cd4f80032
2 changed files with 0 additions and 23 deletions

View File

@@ -1,21 +0,0 @@
#!/sbin/openrc-run
# A few users have reported not being able to access the nameserver on OSX
# If a lookup fails, fall back to Google public nameserver
depend()
{
after networking
}
start()
{
[ -d /sys/bus/vmbus ] && exit 0
ebegin "Testing DNS resolution"
ifconfig eth0 2>&1 >/dev/null && \
(dig localhost 2>&1 > /dev/null || printf "nameserver 8.8.8.8\nnameserver 8.8.4.4\n" > /etc/resolv.conf)
eend $? "DNS fix failed"
}