Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

how is this possible?

from client:

the following works:

ajonen8940@aj-ThinkPad-T60:~$ host ubuntumedia.ubuntumediagz.local    
ubuntumedia.ubuntumediagz.local has address 192.168.1.104

this does not work:

ajonen8940@aj-ThinkPad-T60:~$ ping ubuntumedia.ubuntumediagz.local
ping: unknown host ubuntumedia.ubuntumediagz.local

this works:

ajonen8940@aj-ThinkPad-T60:~$ ping ubuntumedia
PING ubuntumedia.ubuntumediagz.local (192.168.1.104) 56(84) bytes of data.
64 bytes from ubuntumedia.ubuntumediagz.local (192.168.1.104): icmp_req=1 ttl=64 time=4.31 ms

Here is my resolve.conf on the client:

nameserver 127.0.0.1
search ubuntumediagz.local

here is nslookup:

$ nslookup ubuntumedia
Server:     127.0.0.1
Address:    127.0.0.1#53
Name:   ubuntumedia.ubuntumediagz.local
Address: 192.168.1.104

Thanks for any ideas.

share|improve this question
1  
just found my own answer. at the client do this: Here is the solution: perform this on client machine... or just change your suffix. andrewgdotcom.wordpress.com/2007/09/28/… This only applies to .local ... figures. – user249806 Feb 25 '14 at 3:08
    
It might also be good to add that the use of .local as part of a domain name is not recommended! You can find a lot of info here : serverfault.com/questions/17255/… (I too believed it was common practice) – ionreflex Oct 14 '15 at 18:43

in your /etc/hosts file

add 192.168.1.104 ubuntumedia.ubuntumediagz.local ubuntumedia

share|improve this answer
    
You bypass bind using your /etc/hosts file... – ionreflex Oct 13 '15 at 19:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.