How to register a host ip without the domain (short FQN)
-
Hi,
My name is Alex and i live in France.
Imagine I have a domain called mydomain.com and a computer called SRV1.
I register an entry to the DNS Forwarer, if I add : SRV1 , domaine mydomain.com, IP=172.16.100.100.
I can now ping SRV1.mydomain.com.
But how can I do for be able to ping just "SRV1" => PING SRV1 … ????
I have test using /etc/resolv.conf adding a line "SRV1 172.16.100.100" but it not worked :(
Can someone help me ? Thanks a lot.
Regards. -
so if using mydomain.com as your search domain – if you query for just srv1 then client would auto added mydomain.com to the query.
If your wanting just a host enty for srv1, that would not go in resolv.conf -- that would be in host file on either client or pfsense. And would be IPaddress then hostname
like
172.16.100.100 SRV1