---
name: "avahi-dnsconfd.action"
section: "8"
platform: "linux"
package: "avahi"
version: "1:0.9rc5-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/avahi-dnsconfd.action"
---

# avahi-dnsconfd.action(8)

avahi-dnsconfd action script

## NAME

avahi-dnsconfd.action - avahi-dnsconfd action script

## SYNOPSIS

**/etc/avahi/avahi-dnsconfd.action**

## DESCRIPTION

*avahi-dnsconfd.action* is the action script that is called whenever a new unicast DNS server is found or removed by avahi-dnsconfd. The default script as shipped with avahi patches */etc/resolv.conf* to reflect the changed unicast DNS server configuration.

## PARAMETERS

- **argv\[1\]** Contains the character "+" if the DNS server is new, "-" when it shall be removed from the DNS server list.

  - **argv\[2\]** The IP address of the DNS server.

  - **argv\[3\]** Numerical network interface number this DNS server was found on.

  - **argv\[4\]** Numerical protocol number this DNS server was found on. (usually 2 for IPv4 and 10 for IPv6)

  ## ENVIRONMENT

- **AVAHI\_INTERFACE** Contains the textual interface name the corresponds with argv\[3\]. (e.g. "eth0")

  - **AVAHI\_INTERFACE\_DNS\_SERVERS** Contains a list of all DNS servers that avahi-dnsconfd found on the interface **$AVAHI\_INTERFACE**, separated by spaces.

  - **AVAHI\_DNS\_SERVERS** Contains a list of all DNS server that avahi-dnsconfd found on all interfaces, separated by spaces.

  ## AUTHORS

The Avahi Developers \<avahi (at) lists (dot) freedesktop (dot) org\>; Avahi is available from **http://avahi.org/**

## SEE ALSO

**[avahi-dnsconfd(8)](/avahi-dnsconfd/8.md)**, **[avahi-daemon(8)](/avahi-daemon/8.md)**

## COMMENTS

This man page was written using **xml2man(1)** by Oliver Kurth.
