---
name: "axfrdns-conf"
section: "8"
platform: "linux"
package: "djbdns-conf"
version: "1:1.05-22"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/axfrdns-conf"
---

# axfrdns-conf(8)

sets up a DNS zone-transfer service.

## NAME

axfrdns-conf - sets up a DNS zone-transfer service.

## SYNOPSIS

**axfrdns-conf** *acct* *logacct* *D* *tiny* *ip*

## DESCRIPTION

**axfrdns-conf** creates a service directory  *D* that runs [**axfrdns**(8)](/axfrdns/8.md) under [**tcpserver**(1)](/tcpserver/1.md). The name  *D* must start with a slash and must not contain any special characters. Normally  *D* is  */etc/axfrdns*.

You can run the service under [**svscan**(8)](/svscan/8.md) by using the [**update-service**(8)](/update-service/8.md) program on Debian GNU/Linux

update-service --add *D*

or by creating a symbolic link in the  [**svscan**(8)](/svscan/8.md) directory (normally /service or /etc/service), e.g.:

ln -s  *D* /service

The service will start within five seconds, and will be restarted upon reboot. You can use [**svc**(8)](/svc/8.md) to control the service.

**axfrdns-conf** arranges for [**tcpserver**(1)](/tcpserver/1.md) to listen for TCP connections on port 53 of *ip*. It sets up *D*/tcp in [**tcprules**(1)](/tcprules/1.md) format to control access to [**axfrdns**(8)](/axfrdns/8.md); initially all access is denied. It also sets up *D*/Makefile to compile *tcp* into *tcp.cdb* for [**tcpserver**(1)](/tcpserver/1.md).

**axfrdns-conf** arranges for [**axfrdns**(8)](/axfrdns/8.md) to chroot to *tiny*/root and to run under the uid and gid of *acct*. The name *tiny* must start with a slash and must not contain any special characters; normally it is */etc/tinydns*. The name *acct* must not contain any special characters.

**axfrdns-conf** creates an automatically rotated log directory in *D*/log/main. The logs are owned by *logacct*. The corresponding [**multilog**(8)](/multilog/8.md) processes run under the uid and gid of *logacct*. The name *logacct* must not contain any special characters.

## SEE ALSO

[axfrdns(8)](/axfrdns/8.md), [svscan(8)](/svscan/8.md), [svc(8)](/svc/8.md), [multilog(8)](/multilog/8.md), [dnscache-conf(8)](/dnscache-conf/8.md), [rbldns-conf(8)](/rbldns-conf/8.md), [tinydns-conf(8)](/tinydns-conf/8.md), [walldns-conf(8)](/walldns-conf/8.md), [update-service(8)](/update-service/8.md)

http://cr.yp.to/djbdns.html
