Hi all,
When trying the access some servers that belong to my domain, without the
domain name appended to the server name, I cannot reach them.
IOW, if I observe this behavior:
---
$ ping myserver
ping: unknown host myserver
$ ping myserver.mydomain.lan
PING myserver.mydomain.lan (1.2.3.4) 56(84) bytes of data
64 bytes from myserver.mydomain.lan (1.2.3.4): icmp_seq=1 ttl=63 time=0.417
ms
...
---
The content of the generated /etc/resolv.conf is:
---
# Generated by Connection Manager
nameserver 127.0.0.1
nameserver ::1
---
First, I got this trouble using the stock archlinux package (connman-1.20).
I also get it with the head of master (commit
557f99d8308bc78cf11a9cf00274e257b11316e2)
Here is a log I got with connman master:
configure command:
---
$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--with-systemdunitdir=/usr/lib/systemd/system \
--enable-threads \
--enable-pptp \
--enable-openconnect \
--enable-vpnc \
--enable-polkit \
--enable-client \
--enable-maintainer-mode \
--disable-openvpn
$ make
$ sudo ./src/connmand -n -d 'src/dnsproxy.c,src/resolver.c'
&>/tmp/connman.log
---
This log [1] is got trying to reach the server named "jenkins-qa".
---
$ ping jenkins-qa
ping: unknown host jenkins-qa
---
(note that ping jenkins-qa.aldebaran.lan would succeed)
>From a quick look at the log -- by running:
---
$ grep -E '(jenkins-qa|aldebaran\.lan|parse_request\(\) query)'
/tmp/connman.log
---
it seems that sometime the domain name is appended (even if it is not
needed), sometime it is not.
Regards,
[1] http://code.bulix.org/yw6xdw-85415
--
Samuel Martin
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman