I'm having a problem with noip2 and my RPi 2. I have installed the service using AUR, then configured and enabled it. Everything works perfect if I manually start the service, but when the Pi boots, it fails to resolve the DNS of the update service. And it continues failing each time until I manually restart it:
$this->bbcode_second_pass_code('', '# systemctl status noip2
● noip2.service - No-IP Dynamic DNS Update Client
Loaded: loaded (/usr/lib/systemd/system/noip2.service; enabled; vendor preset: disabled)
Active: active (running) since lun 2015-06-15 08:37:08 CEST; 3min 1s ago
Process: 202 ExecStart=/usr/bin/noip2 -c /etc/no-ip2.conf (code=exited, status=0/SUCCESS)
Main PID: 206 (noip2)
CGroup: /system.slice/noip2.service
└─206 /usr/bin/noip2 -c /etc/no-ip2.conf
jun 15 08:37:08 iori-rpi2 systemd[1]: Starting No-IP Dynamic DNS Update Client...
jun 15 08:37:08 iori-rpi2 noip2[206]: v2.1.9 daemon started with NAT enabled
jun 15 08:37:08 iori-rpi2 systemd[1]: Started No-IP Dynamic DNS Update Client.
jun 15 08:37:08 iori-rpi2 noip2[206]: Can't gethostbyname for dynupdate.no-ip.com
jun 15 08:37:08 iori-rpi2 noip2[206]: Can't get our visible IP address from ip1.dynupdate.no-ip.com
# systemctl restart noip2
# systemctl status noip2
● noip2.service - No-IP Dynamic DNS Update Client
Loaded: loaded (/usr/lib/systemd/system/noip2.service; enabled; vendor preset: disabled)
Active: active (running) since lun 2015-06-15 08:40:36 CEST; 15s ago
Process: 278 ExecStart=/usr/bin/noip2 -c /etc/no-ip2.conf (code=exited, status=0/SUCCESS)
Main PID: 279 (noip2)
CGroup: /system.slice/noip2.service
└─279 /usr/bin/noip2 -c /etc/no-ip2.conf
jun 15 08:40:36 iori-rpi2 systemd[1]: Starting No-IP Dynamic DNS Update Client...
jun 15 08:40:36 iori-rpi2 noip2[279]: v2.1.9 daemon started with NAT enabled
jun 15 08:40:36 iori-rpi2 systemd[1]: Started No-IP Dynamic DNS Update Client.
jun 15 08:40:36 iori-rpi2 noip2[279]: *****.***.com was already set to ***.***.***.***.')
Network is wired (eth0), with static IP. /etc/resolv.conf has the two nameservers provided by my ISP, and also tested adding nameserver 8.8.8.8 without luck. /etc/hosts has these contents (rpi is my other raspberry pi):
$this->bbcode_second_pass_code('', '127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost
192.168.1.31 rpi rpi ')
I'm out of ideas. Any suggestions?