On vendredi, 6 janvier 2017 23.48:47 h CET Stefan Klatt wrote:
> Btw. it works with IP addresses.....
>
> Am 06.01.2017 um 23:38 schrieb Stefan Klatt:
> > Hallo,
> >
> > since a few days DNS resolution doesn't work anymore from bareos on
> > CentOS 7.2 with actual patches to access filedaemons.
> > I get the following error:
> >
> > galaxy-dir JobId 615: Error: bsock_tcp.c:187 bnet_host2ipaddrs() for
> > host "ansible.cac.local" failed: ERR=Der Name oder der Dienst ist nicht
> > bekannt
> >
> > Ping, host and nslookup work like a charm.
> > Is this a problem with IP V6? I know bconsole has a problem with it.
> >
> > Regards
> >
> > Stefan
If you want to "isolated" the use of one of the protocol you can use the
following syntax
Here an example for FD daemon
# Let the non wanting protocol commented
# to force the use of ipv4 only for example
FDAddresses = {
# ipv6 = { addr = :: ; port = 9102 }
ipv4 = { addr = 0.0.0.0; port = 9102 }
}
There's the same syntaxe for SDAddresses and DIRAddresses
I'm using that on some networks, where ipv6 is not setup correctly.
--
Bruno Friedmann
Ioda-Net Sàrl www.ioda-net.ch
Bareos Partner, openSUSE Member, fsfe fellowship
GPG KEY : D5C9B751C4653227
irc: tigerfoot
openSUSE Tumbleweed
Linux 4.9.0-2-default x86_64 GNU/Linux, nvidia: 375.26
Qt: 5.7.1, KDE Frameworks: 5.29.0, Plasma: 5.8.5, kmail2 5.4.0
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.