From: Mantis B. T. <no...@bu...> - 2014-08-15 16:55:35
|
A NOTE has been added to this issue. ====================================================================== http://bugs.bacula.org/view.php?id=2092 ====================================================================== Reported By: OlliL Assigned To: ====================================================================== Project: Bacula Bug Reports Issue ID: 2092 Category: other Reproducibility: always Severity: major Priority: high Status: new ====================================================================== Date Submitted: 2014-08-15 17:45 BST Last Modified: 2014-08-15 17:55 BST ====================================================================== Summary: no DNS resolving when FD/SD/DIRAddresses are specified Description: FDAddress works fine when specifying a DNS name FDAddresses does not work when specifying a DNS name What does not work: FileDaemon { # this is me Name = reis-fd FDAddresses = { ip = { addr = reis.salatschuessel.net ; port = 9102 } } ... } Error message: 15-Aug 14:00 bacula-fd: ERROR TERMINATION at address_conf.c:525 Config error: Cannot add hostname(reis.salatschuessel.net) and port(9102) to addrlist (Cannot resolve hostname(reis.salatschuessel.net) Non-recoverable failure in name resolution) : line 33, col 71 of file /usr/local/etc/bacula/bacula-fd.conf FDAddresses = { ip = { addr = reis.salatschuessel.net ; port = 9102 } } DNS is configured right Defining FDAddress = reis.salatschuessel.net does work. It worked fine in Bacula 5. Steps to Reproduce: Just specify IPAddresses with a hostname ====================================================================== ---------------------------------------------------------------------- (0007030) Dan Langille (developer) - 2014-08-15 17:55 http://bugs.bacula.org/view.php?id=2092#c7030 ---------------------------------------------------------------------- FYI: I tested this on FreeBSD 9.3 with Bacula 7.x and encountered the same problem. Issue History Date Modified Username Field Change ====================================================================== 2014-08-15 17:45 OlliL New Issue 2014-08-15 17:55 Dan Langille Note Added: 0007030 ====================================================================== |