diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-09-25 18:39:47 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-09-25 18:39:47 +0000 |
commit | a719e69f9cb0fdbaff2af70a51ad056df35ade18 (patch) | |
tree | 83cefddecd79f5b5f2ae81620cfc0bedb6a6cb0e /usr/sbin | |
parent | 279ee75583743b990dfad0fe851ef6479275267f (diff) | |
download | pfsense-a719e69f9cb0fdbaff2af70a51ad056df35ade18.zip pfsense-a719e69f9cb0fdbaff2af70a51ad056df35ade18.tar.gz |
Do not return a value for NXDOMAIN
Diffstat (limited to 'usr/sbin')
-rwxr-xr-x | usr/sbin/update_dns_cache.sh | 2 |
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 |