Motion doesn't resolve .local netcam_url 
  Question 
Hi,
I'm trying to set Motion to use .local domains, but Motion doesn't resolve the address. It works only using the IP address.
the mjpeg stream address is 
http://DCS-930LB1_02E392.local/video.cgi
I can ping the .local address, i can curl the local address, i can resolve the local address, the OS can connect to the .local address, but Motion refuses to resolve and connect to the .local address.
$ ping DCS-930LB1_02E392.local
PING dcs-930lb1_02e392.local (10.1.1.116): 56 data bytes
64 bytes from 10.1.1.116: icmp_seq=0 ttl=64 time=4.809 ms
64 bytes from 10.1.1.116: icmp_seq=1 ttl=64 time=1.752 ms
$ avahi-resolve-host-name  DCS-930LB1_02E392.local
DCS-930LB1_02E392.local   10.1.1.116
$ curl -u admin:mypassword http://DCS-930LB1_02E392.local/video.cgi
--video boundary--
Content-length: 42288
Date: 05-22-2016 10:48:38 AM IO_00000000_PT_005_000
Content-type: image/jpeg
(mjpeg stream)
Motion verbose error is:
[1] Invalid netcam_url (http://DCS-930LB1_02E392.local/video.cgi)
  Environment 
	
		
			|  Motion version:  | 
			 3.2.12  | 
		
		
			|  ffmpeg version:  | 
			 0.7.17  | 
		
		
			|  Libraries:  | 
			 ffmpeg, mysql, postgresql  | 
		
		
			|  Server OS:  | 
			 FreeBSD 10.3  | 
		
	
-- 
DanielFarfan - 22 May 2016
  Answer