summaryrefslogtreecommitdiffstats
path: root/usr/sbin
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-09-25 18:39:47 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-09-25 18:39:47 +0000
commita719e69f9cb0fdbaff2af70a51ad056df35ade18 (patch)
tree83cefddecd79f5b5f2ae81620cfc0bedb6a6cb0e /usr/sbin
parent279ee75583743b990dfad0fe851ef6479275267f (diff)
downloadpfsense-a719e69f9cb0fdbaff2af70a51ad056df35ade18.zip
pfsense-a719e69f9cb0fdbaff2af70a51ad056df35ade18.tar.gz
Do not return a value for NXDOMAIN
Diffstat (limited to 'usr/sbin')
-rwxr-xr-xusr/sbin/update_dns_cache.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/sbin/update_dns_cache.sh b/usr/sbin/update_dns_cache.sh
index 3079c59..ca95e2c 100755
--- a/usr/sbin/update_dns_cache.sh
+++ b/usr/sbin/update_dns_cache.sh
@@ -7,7 +7,7 @@ while [ /bin/true ]; do
needsfilterreload=0
for FILE in *; do
OLDIP=`cat $FILE`
- NEWIP=`host $FILE | awk '{ print $4 }'`
+ NEWIP=`host $FILE | grep -v NXDOMAIN | awk '{ print $4 }'`
if [ "$OLDIP" != "$NEWIP" ]; then
needsfilterreload=1
fi
OpenPOWER on IntegriCloud