Unable to resolve hostname
-
Hello !
I use the fog1.2.0 in my work, I have inventoried nearly 200 more machines.can upload and download images and everything works fine, I have some small problems like the image below that I’m not understand why not give the error “Unable to resolve hostname” Anyone know where is the problem?
-
Windows Firewall, DNS rules, anything really can cause this.
-
@Tom-Elliott said:
Windows Firewall, DNS rules, anything really can cause this.
Hello Tom-Elliott!
But at least I noticed all the fog 1.2.0 capabilities work well.
If you can not resolve this problem seems the fog works 100%?
-
@Gilberto-Ferraz Hi, not sure but I think you have to specify DNS suffixes on your FOG server.
-
Hello, and where can I do this?
-
@ch3i Or make sure the DNS Resolver is a part of the named/search of the /etc/resolv.conf file.
-
@Tom-Elliott said:
@ch3i Or make sure the DNS Resolver is a part of the named/search of the /etc/resolv.conf file.
It was what I wanted to say lol
-
hello i change my /etc/resolv.conf to my DNS server.
i restart te fog but the problem has not been resolved.
-
@Gilberto-Ferraz said:
Hello, and where can I do this?
Ok, in my debian server I have do that :
apt-get install resolvconf vi /etc/network/interfaces
Add those lines to my interfaces file :
dns-nameserver xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy dns-search domain1.com dns-search domain2.com
Save file and run (it’s to update /etc/resolv.conf file):
resolvconf -u
Content of resolv.conf file :
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver xxx.xxx.xxx.xxx nameserver yyy.yyy.yyy.yyy search domain1.com domain2.com
Now ping in FOG is functional.
-
yes my machine can ping out![Captura de ecrã 2015-07-9, às 15.04.35.png](uploading 100%)
-
ping
-
@Gilberto-Ferraz said:
ping
Can you try to ping a host with shortname and FQDN like that :
ping 74_armazem ping 74_armazem.yourdomain.com
-
I have a machine with attached HP35076 hostname is a machine with WIN 7 I can ping the IP of this machine. but I can not ping the hostname.
Maybe the problem is in my pfsense or own firewall Win 7.
if I can ping out of my fog to www.google.com for example the problem may be in the firewall of my machines windows 7 or even pfsense that makes the management of all of my networks.
-
@Gilberto-Ferraz said:
I have a machine with attached HP35076 hostname is a machine with WIN 7 I can ping the IP of this machine. but I can not ping the hostname.
Maybe the problem is in my pfsense or own firewall Win 7.
if I can ping out of my fog to www.google.com for example the problem may be in the firewall of my machines windows 7 or even pfsense that makes the management of all of my networks.
It’s not a FW problem if you can ping the IP.
It’s a DNS problem, have you a domain ? have you a DNS server configured in your machines ? If yes provide me those informations. -
i disable FW on machine win7 and i can ping the ip address but not !
-
Are your machines part of a domain? Try adding the domain to the end.
My domain is test.local in order to ping Laptop-2 I have to run:
root@Fog:~# ping Laptop-2.test.local PING Laptop-2.test.local (10.1.111.254) 56(84) bytes of data. 64 bytes from 10.1.111.254: icmp_req=1 ttl=127 time=138 ms 64 bytes from 10.1.111.254: icmp_req=2 ttl=127 time=180 ms 64 bytes from 10.1.111.254: icmp_req=3 ttl=127 time=1.54 ms