.nh .TH podman-network-update 1 .SH NAME .PP podman-network-update - Update an existing Podman network .SH SYNOPSIS .PP \fBpodman network update\fP [\fIoptions\fP] \fInetwork\fP .SH DESCRIPTION .PP Allow changes to existing container networks. At present, only changes to the DNS servers in use by a network is supported. .PP NOTE: Only supported with the netavark network backend. .SH OPTIONS .SS \fB--dns-add\fP .PP Accepts array of DNS resolvers and add it to the existing list of resolvers configured for a network. .SS \fB--dns-drop\fP .PP Accepts array of DNS resolvers and removes them from the existing list of resolvers configured for a network. .SH EXAMPLE .PP Update a network: .EX $ podman network update network1 --dns-add 8.8.8.8,1.1.1.1 .EE .PP Update a network and add/remove dns servers: .EX $ podman network update network1 --dns-drop 8.8.8.8 --dns-add 3.3.3.3 .EE .SH SEE ALSO .PP \fBpodman(1)\fP, \fBpodman-network(1)\fP, \fBpodman-network-inspect(1)\fP, \fBpodman-network-ls(1)\fP