aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 4f934c38..910bf9fe 100644
--- a/driver.c
+++ b/driver.c
@@ -115,6 +115,8 @@ static int is_host_alias(const char *name, struct query *ctl)
return(TRUE);
else if (strcmp(name, ctl->server.canonical_name) == 0)
return(TRUE);
+ else if (ctl->server.no_dns)
+ return(FALSE);
/*
* We know DNS service was up at the beginning of this poll cycle.
@@ -423,7 +425,7 @@ char *realname; /* real name of host */
if (inheaders)
{
- if (!ctl->norewrite)
+ if (!ctl->no_rewrite)
reply_hack(bufp, realname);
if (!headers)