mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
17 lines
337 B
Go
17 lines
337 B
Go
//go:build unix && !darwin && !android
|
|
|
|
package debug
|
|
|
|
import (
|
|
log "github.com/sirupsen/logrus"
|
|
)
|
|
|
|
// addDNSInfo collects and adds DNS configuration information to the archive
|
|
func (g *BundleGenerator) addDNSInfo() error {
|
|
if err := g.addResolvConf(); err != nil {
|
|
log.Errorf("failed to add resolv.conf: %v", err)
|
|
}
|
|
|
|
return nil
|
|
}
|