DNS short name problem. FQDN worked
Dear Guru's
I've setup local DNS on my lab The problem is, I need the short name to be also working . Right now, I can use FQDN without problem Here's my conf named.conf Code:
options { Code:
$TTL 86400 |
Hi,
Add in /etc/resolv.conf Code:
domain labs.com |
Quote:
It still doesn't worked, thanks |
Quote:
|
Quote:
Code:
[root@client1 named]# dig labs-host1.labs.com Code:
[root@client1 named]# dig labs-host1 Code:
#search labs.com |
You could use other network tools (like nslookup, ping etc) to do your tests.
Anyways for dig you need to add the "+search" option, e.g: Code:
dig labs-host1 +search |
Why do you have search commented out in /etc/resolv.conf? If you uncomment then, it should work as you want it to.
|
Quote:
When I use ping, it worked even if I use short name So I guess, the configuration are working since the first time :) Still wondering though, can I just type dig <short name> ? :) Thanks and regards |
Quote:
Quote:
|
All times are GMT -5. The time now is 12:20 AM. |