This plugin allows CoreDNS to resolve names matching libvirt domains. It is
similar to the nss
plugin libvirt_guest
.
Currently this plugin can only be used in the guest
mode.
The functionality of libvirt guest
is analogous to the libvirt_guest
nss
plugin, where we look for a match on the name of the libvirt domain, not
necessarily a hostname.
If your zone isn't root .
, you'll likely want to include the trim_suffix
directive so you search for the correct name in your guests.
If only some of the IPs assigned to the guests are reachable, you can filter
them with the keep
directive.
vm:1053 {
libvirt guest {
trim_suffix vm
keep 10.101.0.0/24
}
}