Results 1 to 3 of 3

Thread: Pinging hostname rather than hostname.local

  1. #1
    Join Date
    Jul 2006
    Beans
    60

    Pinging hostname rather than hostname.local

    Hi,

    I'm trying to ping another Ubuntu computer on my local network. If I try doing,

    ping <hostname>

    then I get the message

    ping: unknown host <hostname>

    however, if I do

    ping <hostname>.local

    then I get a response back. I was wondering how I can change it so that I can ping without having to append .local

    I've installed winbind and modified my /etc/nsswitch.conf file but this has made no difference.

    Thanks

    Richard

  2. #2
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Pinging hostname rather than hostname.local

    I have DNSMasq as DHCP/DNS server on my network - it seems to work. Avahi uses the .local suffix - my (very limited) experience with avahi hasn't left me with a good feeling...
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  3. #3
    Join Date
    Nov 2008
    Beans
    12

    Re: Pinging hostname rather than hostname.local

    I'm having the same issue and would prefer not to run my own DNS server though.
    For me its .home instead of .local
    Additionally what seems to happen for me is that I have to type hostname.home the first time I connect, after that just hostname works.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •