Ubuntu Networking :: Can't Ping Hostname In .local Domain

May 14, 2010

ever since upgrading from karmic to lucid, i cannot ping fqdn hosts in .local tlds. nslookup & dig work, but most other utilities fail (ping, traceroute, etc...). i know .local is an invalid tld, but apple seems to have made it a defacto standard on private networks, so i'd imagine somebody else has seen this issue before... is there a simple fix that doesn't require managing hosts file entries on a bunch of systems?

View 3 Replies


ADVERTISEMENT

Networking :: Ubuntu Server Cant Ping Or Connect External / Can Resolve Hostname And Domain

Oct 15, 2009

As the title suggest, I have downlaoded the latest copy of Ubuntu Server from the ubuntu website.Everything installed fine. DHCP configured ok as far as I can tell. I can ping other machines on my network (which are running Windows) and they can ping the Ubuntu machine and conenct to Apache which is running on it.If I try to ping google.com or any other domain, it gives the correct IP address but gives no response to any pings, dont telnet on port 80 (or any toher potr for that matter) on any machine on the internet. I checked the settings using ifconfig to see what DHCP had assigned, and they matched the windows machines configuration (other than the IP address obvisouly). I tried assigning a static IP, even reserving a particular IP for my NIC.

Whatever I do, i cant connect to any machine outside the network via IP or domain.I have searched everywhere and tried everything i can find on the net but still to no avail.The Windows machines are part of a domain called alcom-uk.local and run off of a Windows Small Business 2003 Server. Not sure if i need to manually setup Ubuntu to connect using a domain or anything.

View 14 Replies View Related

Slackware :: Can't Ping Any Local Hostname

Feb 20, 2010

I've setup two slackware in a Dell Inspiron 640m e in Acer Aspire One D150.

In my router the domain is "home", the two slack use wicd (dhcpcd backend) to connect. I can go in internet.

The problem is that in my router panel I can see the hostname (so dhcpcd send the right one) but they can't ping other machine in the lan (windows 2000, nas or other linux box).

Now I can't use a fixed ip (i change several networks with different routers).

I think I miss something that can ask to my router the hostname.

Anyway I was able to ping Dell.local and Acer.local with Ubuntu karmic.

View 14 Replies View Related

General :: Ubuntu 9.10 Networking Hostname / Can Ping The Linux Box Using Its Hostname From A WinXp. But Cannot Do The Reverse?

Jan 3, 2010

I have a network of 2 WinXP machines and one linux box. I have fiddled around with the settings as you do when learning. The network is working. The network neighbourhood on the WinXP machines recognise the linux box and vice versa, (the linux Places|Network recognises the 2 WinXP). I can Ping the linux box using its hostname from a WinXp. But I cannot do the reverse. I get an 'unknown host' response. I can ping the linux to itself using its hostname.

View 7 Replies View Related

Networking :: FC13 Install Can Ping By Hostname - Ssh By Hostname Fails

Jul 29, 2010

I'm having an issue on two Fedora Core 13 machines where I can ping others by hostname, but the hostname resolution fails whenever I use ssh/scp/vnc/etc. I can still do these things by IP address, just not by hostname. RHEL5.3 machines on the same network with the same configuration do not seem to have this problem.

Here's the not-so-quick-and-dirty description of the situation:

I know that there is a virtual router at 192.168.31.1 and another at 192.168.30.1. I also know that there is another network (let's call it 90.90.90.0) and on that network lies a number of resources. By nature of this configuration, any machine on 90.90.90.0 can be accessed by any 192.168.x.x, but not the other way around. Beyond that is out of my hands and currently out of my scope of knowledge.

I have a dnsmasq server on 90.90.90.10 that operates as a secondary nameserver, another machine out of my sphere of influence is the primary nameserver (90.90.90.31).

The secondary nameserver on 90.90.90.10 holds the hostnames of our development machines. The problem is that in some cases, while I can ping by hostname all day long, services such as ssh, scp, vncviewer, etc all fail to resolve the hostname. In other cases I can do all of these things.

Every machine has an equivalent resolv.conf:

As an example, I will show the output of a handful of my development machines:

I also included columbia as a one-way test -- even though it cannot access 30.x or 31.x, they can access it:

columbia -- physical machine, Red Hat Enterprise 5.3, IP 192.168.100.200

Okay, so here are the various outputs. Remember, nibbler, discovery, and atlantis can ALL:
- Ping by IP address
- Ping by hostname
- ssh, scp, vnc, etc by IP addess

Additionally, the SERVFAIL reply from 90.90.90.31 is expected since my dnsmasq server is on the secondary server.

Note that the only machine that can both ping and ssh/scp/etc by hostname is nibbler, which also happens to be the only one of the three running RHEL5.3 instead of FC13. Other virtual and physical machines running on the 192.168.31.0 and 192.168.30.0 networks (all running RHEL5.3) work just like nibbler does. So the problem seems to only affect machines running FC13.

Final note: selinux is disabled, iptables is disabled, ip6tables is disabled.

Other than that, discovery is a brand-spanking-new install straight off of the FC13 DVD. atlantis has been around longer, but its just a file server so I haven't done anything too crazy to it.

View 3 Replies View Related

Ubuntu Networking :: Pinging Hostname Rather Than Hostname.local?

May 24, 2010

I'm trying to ping another Ubuntu computer on my local network. If I try doing,ping <hostname>then I get the messageping: unknown host <hostname>however, if I doping <hostname>.localthen I get a response back. I was wondering how I can change it so that I can ping without having to append .localI've installed winbind and modified my /etc/nsswitch.conf file but this has made no difference.

View 2 Replies View Related

Networking :: BIND9 SLOW Ping When Ping By Hostname

Feb 1, 2011

I just installed my first EVER bind DNS server. I am running bind9 on Ubuntu 10.04. Everything seems to be working great except one thing: If I ping a host that I have set up in bind by its HOSTNAME the pings take 5-6 seconds to reply/print to the screen between each echo response. If I ping by the host's IP address, they echo back very quickly.

I have read that IPv6 can cause this, but I have disabled it in /etc/sysctl.conf and the problem still exists.

I know everyone says this can't be a DNS issue, but this never was an issue with dnsmasq (which i was using prior), and it doesn't make sense that the ping are ONLY slow when pinging by hostname and not IP.

Configs below:

Ping by hostname - there is a 5-6 second delay between each one of the responses:

Code:

Ping by IP - the responses come VERY quickly one after the other:

Code:

/etc/resolv.conf:

Code:

Code:

rev.0.168.192.in-addr.arpa:

Code:

View 10 Replies View Related

Networking :: Cannot Ping Via Hostname Ubuntu 10.10 VM

Apr 6, 2011

I have a Windows 7 machine that I have an installation of Ubuntu 10.10 via VMware and am having an issue with pinging by hostname thorugh the VM. From the Windows 7 machine I can ping by name without any issue but not with the VM. I have the VM as bridged so it is pulling all the network stuff via DHCP including the correct DNS servers. I can ping all the DNS servers and host without any issue. I have verified my /etc/resolv.conf entries are all correct.

If I run nslookup via the VM it says:

PHP Code:

I have also verified that AVAHI is running to cache the DNS stuff and still no success.

View 9 Replies View Related

Ubuntu Networking :: XP Can Ping FreeNAS Hostname, Can't?

Jul 9, 2010

At work, I recently installed FreeNAS 0.7.4919 on a computer and set it up to be a samba server. Using a Windows XP Pro SP3 computer on the same subnet as the FreeNAS server, I can ping the FreeNAS server's hostname and it works just fine. However, using an Ubuntu 10.04 computer on the same subnet as the FreeNAS server, I am unable to ping the FreeNAS server's hostname. When I try, it says "ping: unknown host [the FreeNAS server's hostname]". I can ping its IP address just fine, though. Why is it that Windows XP Pro can ping the FreeNAS server's hostname but Ubuntu 10.04 can't?Here's the output of the ifconfig command on the Ubuntu 10.04 computer:

Code:
eth0 Link encap:Ethernet HWaddr 00:14:c2:cd:a6:39
inet addr:10.37.74.141 Bcast:10.37.75.255 Mask:255.255.252.0

[code]....

View 1 Replies View Related

Ubuntu Networking :: Can't Resolve Hostname For Ping - Ssh ?

Jan 7, 2011

I have a weird problem since yesterday that I can't solve. I can't ping / ssh my machine anymore using its hostname... says "unknown host", "network unreachable". I have no idea why - it used to work perfectly. I can still ping / ssh using the IP so it must be a problem of hostname not being resolved.

I have a dynamic IP (I'm at work...) but that doesn't seem to be the problem - network manager automatically adds a line in /etc/hosts with <mycurrentip> <hostname> (I checked, it's indeed the IP given by ifconfig and that I can use to ping/ssh).

2nd question: Another computer has a similar problem but slightly different: the hostname is resolved but points to a wrong IP (seen in ping or nslookup), different from what ifconfig returns. As a result, ping times out and ssh says "no route to host".

View 9 Replies View Related

Fedora Networking :: Cannot Ping By Hostname On 14

Jul 3, 2011

I have 4 installations of Fedora 14 running on a Win 2008 R2 server in Hyper-V.

When I try to ping my desktop or the host server via the hostname from within any of the Fedora installations, the ping fails. I can ping by IP without issue. Also if I try to ping the VMs from my desktop it fails. I have an XP VM setup that I can ping without issue via hostname and IP.

All of the VMs can access the Internet without issue. I have disabled all firewalls on all systems with no luck. My desktop can ping the Hyper-V server without issue so it would appear that the problem lies with the Fedora installations.

My resolv.conf

Code:

Does anyone have anything I can try to get the name resolution working?

View 4 Replies View Related

Networking :: Ping Debian On Hostname

Mar 31, 2010

How I can ping my debian computers on their hostname?

I have installed both samba and winbind and I have also changed the line in /etc/nsswitch.conf to:

Hosts: files wins dns

I have done the same thing on another linux box (ubuntu) just to see if that worked and it did - I could ping it on the hostname.

Also, I have trid to add the ip/hostname in /etc/hosts and even that didn't work.

The /etc/resolv.conf seems to be as it should.

In the /etc/hostname the hostname is updated.

I have tried to restart the samba service and the networking service and even the entire computer but none of it worked.

View 2 Replies View Related

Networking :: Ping Hostname - Just Like Windows?

Feb 7, 2011

Is there a way to ping the hostname in linux just like windows?

View 3 Replies View Related

Ubuntu Networking :: Unable To Ping Windows 7 Box By Hostname?

Feb 11, 2011

I have a windows 7 desktop hardwired to my wireless router and a windows xp laptop connecting wirelessly on the same network. I am able to ping the windows 7 box by its ip address but unable to do so by its hostname. This is very inconvenient since I would like to set up a share by hostname (doesnt change) and not by ip (changes occasionally since its dhcp).

View 8 Replies View Related

Ubuntu Networking :: Weird Can't Ping By Hostname, Nmblookup Works?

Sep 3, 2010

I can't ping by netbios name or fully qualified domain name, BUT nmblookup works just fine. I know it's a dns problem(s) I just don't know what or how to fix it. I'm very new to all of this(networking, domain administration, posting on forums etc) so I hope this is the right way to ask for help here. I've searched around the forums and the internet for a bit but I haven't found a solution to my problem yet.

here is some background on how the network is setup2 different domains sharing the same dhcp scope.

DC for DomainA is running windows 2003 std
DC for DomainB is running windows 2008 sbs
DC-A has ip of 192.168.1.249
DC-B has ip of 192.168.1.3
router is sonicwall (192.168.1.1)
DC-A is hosting both DHCP and DNS

there are 25 computers in DomainB and 1 computer (not in domain) with ubuntu 10.04 and Free Open Ghost running on it (dhcp off) all 25 computers can ping the fog server by name (and eachother) all 25 computers pxeboot to fog just fine

[Code]...

View 1 Replies View Related

Networking :: Fedora 14 Unable To Ping The Hostname From Any System.

Nov 24, 2010

I did a new install of Fedora 14. This is my first time using Linux seriously and I am trying to figure it all out.

I am able to ping my hostname of sinbad only from the linux system itself. On all my windows boxes, I am not able to ping it. I can only ping the IP address.

Here is /etc/hosts:

Quote:

I disabled the firewall, disabled SELinux, and still not able to ping it.

Here is the info from ifcfg-eth0 :

Quote:

Quote:

View 5 Replies View Related

CentOS 5 Networking :: PING From 5.5 To Windows Hostname/NETBIOS Name?

Jan 28, 2011

Givens

LAN
CentOS 5.5
Windows 7 machine (hostname/NETBIOS name: AwesomePC, LAN IP: 192.168.1.20)
Workgroup: Cake
No WINS server
No Domain
No AD

Goal

From CentOS 5.5, have

# ping AwesomePC

resolve to a ping on 192.168.1.20

Problem

# ping AwesomePC

resolves to some random public IP that seems to be coming from my WAN DNS (openDNS) servers

ATTEMPTS

Have edited /etc/nsswitch.conf, edited line: hosts: files wins dns Have edited /etc/resolv.conf, added line: search CAKE Have installed samba (# yum install samba) and run (# service smb start), with /etc/samba/smb.conf, workgroup = CAKE, name resolve order = wins host lmhosts bcast

Does # ping even care about samba? How can I get this to work?

View 5 Replies View Related

Networking :: Hostname And Domain Name Using Expert Installation Mode

Aug 24, 2010

During Debian installation there is a question about Hostname and Domain Name using expert installation mode. Correct me if I'm wrong, but hostname should be only for local usage as it's associated with 127.0.1.1 in /etc/hosts. However, I don't know any local network service, which uses 127.0.1.1 instead of 127.0.0.1. Do you? In this light hostname under Linux seems to be nothing more than a computer name in practice(but it can associated with local network services if one wants to)?

View 1 Replies View Related

Networking :: Specify Hostname (in Local Box, Not In DNS Server)

May 31, 2010

What is the right way to specify hostname(in local linux box, not in DNS server):

myhost1
or
myhost1.mydomain1

View 2 Replies View Related

Ubuntu Networking :: Hostname.local Addresses On Windows (using Dnsmasq)

May 5, 2010

I'm trying to get the Windows machines on my network to access hostname.local addresses. I want to do this without setting up extra software or settings on the Windows computers.

I already have dnsmasq on my server handling all DHCP and DNS requests. How can I get dnsmasq to return an IP address for a .local address?

View 9 Replies View Related

Ubuntu Networking :: Not Showing Proper Hostname On Local Network

Mar 8, 2011

I found that I needed to connect them to the same workgroup, which I now have and for the most part it works. However, for one of the computers I do not want to use a .local domain, rather I need to use a .org. But no matter what I do, other computers on the network think it is a .local hostname. Currently the /etc/hostname on the computer file is as follows:

[Code]...

Here is a screenshot of an ipscan done from another computer on the local area network so you can see what I'm talking about.

View 2 Replies View Related

Ubuntu Networking :: Able To Ping IP Address But Not Domain Names?

Jun 15, 2010

Since two days i m not able to browse websites using the domain names but able to ping/browse using IP addressed. I have done the following:

1. Using wireless i m able to get IP address of DNS (8.8.8., Gateway, localhost & router ip address
2. Disabled wireless and connected ETH0 but still the same problem
3. not able to edit resolv.conf

sudo gedit resolv.conf
** (gedit:4179): WARNING **: Hit unhandled case 0 (Error opening file: Input/output error) in parse_error.

[code].....

View 4 Replies View Related

Fedora Networking :: Ping's Reply Even When Domain Is Invalid?

Jul 31, 2009

I was using my ISP's DNS server. When I would ping something that doesn't exist, e.g. blahtest.com, it would reply anyway. When I tried to go to the site in a browser, it was some page like "I hope we can help you find what you're looking for". I thought that was ridiculous, so I changed to OpenDNS's DNS server.

View 4 Replies View Related

Debian Configuration :: Can Ping Public Ip But Cannot Ping Domain Name

Apr 6, 2011

I have a debian server installed with a static ip. Now i am able to ping my ip, but when i try to configure a domain name with the nameserver as my ip, i am not able to ping the domain name

eg:

View 7 Replies View Related

Ubuntu Networking :: Cannot Ping Local Hostnames

Nov 3, 2010

I have recently installed Ubuntu 10.10 and using it on a Windows Network.

I cannot ping any localhosts on the network using computer name but can ping using the IP Address.

I can ping the hosts via hostname from a windows machine fine, just not from Ubuntu

I can ping external websites using hostname like [URL]

My resolve.conf file is as follows.

# Generated by NetworkManager
nameserver 192.168.95.253
nameserver 192.168.95.234

View 1 Replies View Related

Ubuntu Networking :: Can't Ping Local DNS Server

May 28, 2011

Last night I setup bind9 on my server. I created a local domain (name.local). The server's ip address is 192.168.1.254

The issue that I'm having is that with my ubuntu laptop, I can't ping the name of the server.

Code:
user@prefect:~$ ping name.local
ping: unknown host name.local
But when I do the same ping from both the server and a XP computer, it will respond.

I can ping the laptop with it's name (prefect.name.local) from both the server and the xp computer.

This is my /etc/resolv.conf file:

Code:
user@prefect:~$ cat /etc/resolv.conf
domain name.local
search name.local
nameserver 192.168.1.254

Also, when I do nslookup name.local or dig name.local, the return with no errors.

Why is it that I can't use the name of the server to access it and that only the ip address works?

View 2 Replies View Related

Networking :: Referencing Hosts By (special) Hostname For IPv6 Link Local Address

Apr 30, 2010

I can reach other hosts by means of their global addresses by either the IP address or hostname (that has the global address). What I want to (also) do is have a hostname that references the IPv6 link local IP address (an AAAA record in DNS, or just the fe80::<whatever> address in /etc/hosts) and use that host name in commands to access that host. The problem is, an interface ID is needed when making such a reference.

It sure looks like the programs just pass the host name string on to the resolver library, which does not understand the significance of the '%' even though it could find and see that the name preceding the '%' is consistent with that being an IPv6 link local address (e.g. the logic could have been "split at first % and see if preceeding name is found as a link local address and accept that if so, or ignore the split otherwise" ... but it isn't). Is there a different syntax for this ... or was it overlooked in the design of programming around IPv6?I want to be able to address a host by its link local address, while still using a mnemonic instead of having to type the IPv6 address.

View 1 Replies View Related

Ubuntu Networking :: Can't Ping Machines On Local Network

Jun 23, 2010

So in an effort to increase the speed of my netbook, I removed Ubuntu and installed Lubuntu on it. When I tried to mount my samba share as I normally do, I noticed it wasn't able to connect - mount error(113): No route to host. Sensing something fishy, I attempted to ping the machine (both by name and by IP) - Destination Host Unreachable.The machine I'm trying to connect to is using Ubuntu 10.04 x64. I attempted to ping the other way and it was able to connect to the netbook just fine. When the netbook was using Ubuntu, it was connecting fine. My iptables check out ok, but here is the output of iptables -nvL:

Code:

Chain INPUT (policy ACCEPT 213 packets, 21635 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)

[code]....

Does lubuntu have some funky firewall built in to it that I can't find? (I've Googled for information on a Lubuntu default firewall and can't find any)

View 1 Replies View Related

Fedora Networking :: Cannot Ping Local Computer ?

Apr 30, 2010

I installed Fedora 12 on my laptop. I have a wireless connection to the internet that works fine, I attached an Ethernet cable from this laptop to a windows machine. There is a green light.

I can ping my localhost. I can ping the windows machine using it internal IP address via the router. However, the eth0 IP address does not work when I ping to it from the windows nachine. Also, I cannot ping to the windows machine using the IP address associated with the Ethernet connection.

View 4 Replies View Related

Networking :: Domain Won't Load From Local Network?

Feb 15, 2011

Have a domain registered on a public ip. The domain server for the domain is on the same local network as the web server that uses the domain. The web server naturally has a local and public ip address.

The problem is that whenever I try to access the domain from my local network the lookup for the domain fails, as it cannot find the server from the local network. What's the most painless solution to this problem?

TL;DR: need for my domain to be accessible from both my local network and the outside world, now it's only from the outside which is a problem.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved