Re: [bareos-users] Bareos 16.2, CentOS 7.2 and DNS

2017-01-07 Thread Bruno Friedmann
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 bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [bareos-users] Bareos 16.2, CentOS 7.2 and DNS

2017-01-06 Thread Stefan Klatt
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

-- 
*CaC, Computer and Communication*
Inhaber Stefan Klatt
End-2-End Senior Network Consultant
Triftstrasse 9
60528 Frankfurt
Germany
USt-IdNr.: DE260461592

Tel.: +49-(0)172-6807809
Tel.: +49-(0)69-67808-900
Fax: +49-(0)69-67808-837
Email: stefan.kl...@cac-netzwerk.de
Profil: http://www.cac-netzwerk.de/profil

-- 
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 bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature


[bareos-users] Bareos 16.2, CentOS 7.2 and DNS

2017-01-06 Thread 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
-- 
*CaC, Computer and Communication*
Inhaber Stefan Klatt
End-2-End Senior Network Consultant
Triftstrasse 9
60528 Frankfurt
Germany
USt-IdNr.: DE260461592

Tel.: +49-(0)172-6807809
Tel.: +49-(0)69-67808-900
Fax: +49-(0)69-67808-837
Email: stefan.kl...@cac-netzwerk.de
Profil: http://www.cac-netzwerk.de/profil

-- 
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 bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature