Always answer queries for authoritative zones locally, never forward.

This commit is contained in:
Simon Kelley
2013-10-18 22:00:39 +01:00
parent 53c4c5c859
commit b485ed97aa
4 changed files with 38 additions and 6 deletions

View File

@@ -62,7 +62,7 @@ static int filter_constructed_dhcp(struct auth_zone *zone, int flag, struct all_
return filter_zone(zone, flag, addr_u) != NULL;
}
static int in_zone(struct auth_zone *zone, char *name, char **cut)
int in_zone(struct auth_zone *zone, char *name, char **cut)
{
size_t namelen = strlen(name);
size_t domainlen = strlen(zone->domain);