Red dot in Fog
-
Hello everyone !
I have a fog server on fedora, and after deployment , Everything is ok in the column status, but after the domain is joined, there are red dots in the column status.
The nslookup command can’t find the PCs, except if I precise the dns address.
If someone have an idea…Thank you in advance and have a great day
-
@Tanguy We might need a bit more information, but in general once FOG deploys a registered target computer, the only way it can find that computer on your network is via its host name. So to that point, the name you register in FOG for the host, must be the name of the computer after its attached to AD.
(this is more to the point of your problem), the fog server needs to be able to resolve the host name via DNS. So to test open the fog server, open a command window, then try to ping the computer via its name as its known to FOG. If it can’t resolve the name, then you need to update the dns server setting so that its proper for your network. I think fedora has a ui tool to do this, or the old school way is to update /etc/resolv.conf file. But I would use the ui tool because it probably sets this file and might overwrite anything you put in there manually.
-
@george1421 Hello and thanks for your response.
The problem is i configured /etc/systemd/resolve.conf with the correct DNS but it doesn’t work, I can’t find the computer, except if i precise the dns adress in the nslookup command…
-
@Tanguy Just to be clear, you can’t locate the system by using its short name like
ping host1
but you can if you use the fqdn likeping host1.domain.com
? If yes, then you need to add thesearch
parameter with a domain and it will use the search list to find the fqdn. -
@george1421 Hello and thanks for your answer ! After activate another resolv.conf, the nslookup command works on the fog server. Could the problem come that the fog server and the clients are in the differents domains ?
-
@Tanguy If you have the search parameter set correctly in the resolv.conf file it should not matter what domain the target computer is vs the server. FOG only used the short name of the target (without domain reference). So if you can
ping host
where host is the name you registered the target computer in FOG with it should work. Also know that FOG doesn’t use the ping command to test if the target host is up or not, FOG tries to connect on port 445 to see if the host is up or not. So if you have a firewall between the fog server and target computer then the check will fail too. -
This post is deleted! -
@george1421 How to set correctly the search parameter, ?
I’ve put this line :
search 10.10.1.27 -
@Tanguy The search list should be domain names you want to search through. The search list plus the host name should make the fqdn name of the computer. So short name resolution works.
-
@george1421 Thanks a lot, it works !
Have a nice day and thank you again !