Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Linux


Advertisements:










Ubuntu Networking :: Resolve Local Network Names?


I'll apologize in advance for I'm sure this has been covered already, but I'm not sure of the search terms to even use to begin solving this problem. I don't know what I don't know.

I have three computers on my home network and want to reach them by their name instead of IP address since their ip is dynamically assigned. I'm using a Linksys WRT54GL router and have noticed that there exists a "DHCP Clients Table" in the router that seems to hold all the necessary information - host names and ip addresses.

How can I get my computers to use that as the lookup table to resolve the host names? And is this even an optimal way of being able to resolve local names?


View 3 Replies (Posted: March 27th, 2010)

Sponsored Links:

Related Forum Messages For Linux category:
Debian Configuration :: Cannot Resolve Local Network Names Only
I have three Debian systems running, along with several XP laptops, PS3 and two DirecTV systems. I use two of the three Debian systems as media servers, and the third is an older system mostly for playing around with. My home network is running fine with the following nuisance. The two newer Debian (Lenny) systems are <barney> and <mitzi>, the older is named <oscar>, running Debian Sarge 3.1. From either locally or remote login to <barney> and <mitzi> I can ssh into either of the other two systems, however when logged into <oscar> I cannot ssh by name to either of the other systems. e.g. ssh: mitzi: Temporary failure in name resolution..However, from <oscar> I can ping outside my network (e.g. ping www.google.com) with no problems.I can also ssh to the other systems via IP address, just not by name.

I've compared the /etc/ssh/ssh_config, /etc/resolv.conf, /etc/ssh/sshd_config and other files between the two systems and not seeing anything peculiar. arp, route, etc., don't show different behavior between the systems either.

Posted: 2010-07-25 21:55

View 6 Replies!   View Related
OpenSUSE Network :: Cannot Resolve Host Names On Local Network?
I have a mac and an openSUSE box connected wirelessly to a router. From my mac, if I ping the Linux machine by both ip address and hostname "elmo.local", I get a response. If I ping my mac from the Linux machine using its ip address, I get a response. However, if I ping the mac from the Linux box using its name "kermit.local" - nothing!

This means in order to share files between them via the network, I have to use the ip address rather than name, but I'd rather not. When I had Ubuntu installed instead of openSUSE this all worked fine out of the box, so I'm assuming it's a problem with the setup of openSUSE rather than the router or the mac.

Posted: 09-Mar-2010 06:38

View 4 Replies!   View Related
Networking :: Dns Server Not Able To Resolve Local Domain Names
I recently installed bind9 on mandriva 2008.1, after having done the necessary configuration.. I still can't find my domain I configured cant ping on other machines on the LAN but can actually ping on any other website on the internet even though name server is configured to point to local machine..... I dont understand what I'm doing wrong.

Posted: 03-19-2009, 08:34 PM

View 14 Replies!   View Related
Ubuntu Networking :: Windows Clients Lose Ability To Resolve Local Domain Names
I have an internal domain (dev.lan) for which my Ubuntu server is authoritative. We have a number of subdomains under that domain (test.dev.lan, svn.dev.lan, etc.). The server also acts as the primary DNS server for my office. It was originally set up under Ubuntu 8 and worked great.

However, ever since we upgraded to Ubuntu 10, our Windows clients periodically lose the ability to resolve domains on the dev.lan domain. Internal IP addresses can still be pinged from the Windows machines so it does not appear to be a network-connectivity issue. External domain names continue to resolve without any problems. The only workaround is to restart networking on the Windows clients. It's frustrating because it happens several times a day.

bind9 logs no obvious error messages.

Posted: December 2nd, 2010

View 3 Replies!   View Related
CentOS 5 Networking :: DNS Configuration - Local Network And Internet Names
We are in the process for Integration Network with our Government Network.
Let say that our network are 192.168.0.0/24
And the Government network are 10.0.0.0/8
I want to know if the local network can resolve the internet names in Government Network. I am using Bind for DNS.

Posted: 2009/1/28 4:22

View 1 Replies!   View Related
Ubuntu Networking :: 10.04 - Cannot Resolve Names Using DNS
A while ago I downloaded a VMWare VM for 7.10. I then upgraded it to 8.10 and it was working just fine. I just did the upgrade to 10.04 and I'm having problems with my networking. The really odd thing is that I can ping machines on my local network and out on the Internet by IP address but it will not resolve names using DNS.

I've got the network set up for DHCP. I also tried DHCP address only and manually entered my DNS server addresses but still no luck on resolving names with DNS. At the end of the day, I don't really care if I get this fixed or just get a new VMWare VM. (I can't create one because I only have the player.)

Posted: September 16th, 2010

View 6 Replies!   View Related
Ubuntu Networking :: NAS Server - Cannot Resolve Non DNS Names
I have a NAS server running Debian with Dnsmasq (local DNS and DHCP service). This is working well, including fetching upstream requests from my ISP's DNS service and caching them locally. I have another PC not running Ubuntu which happily resolves DNS and non-DNS names. E.g.
Code:
ping hagrid.
ping hagrid
both work.

However, this is not the case on my Ubuntu PC. It is only able to resolve DNS names, not non-DNS names.
Code:
ping hagrid.
works but
Code:
ping hagrid
does not.
I have the standard nsswitch.conf and host.conf.

Posted: February 14th, 2010

View 2 Replies!   View Related
Networking :: SLES 10 SP3 Will Not Resolve DNS Names?
I have setup an static IP on this server, it will ping internal sites , but when I try to browse the internet it does not do anything. I have set up the gateway, the firewall, and the domain fie, but still no luck.NOTE: When I try DHCP it will work ( it will resolve the DNS of the pages), but since this is a server it requires an static IP.

Posted: 02-14-2011, 08:16 AM

View 2 Replies!   View Related
Networking :: Resolve All Random Server Names?
I'm confused. Why do I get a response from ping for any scrambled internet server name I type in??The only thing that is necessary is to start with "vvvvvv."(It should be triple W in this post, but I need to do this work around due to the forum rules )And it always resolved to different IPs with similar ping times.What's going on?

Code: > ping vvvvvv.q3g87uv8123907.qt1
PING vvvvvv.q3g87uv8123907.qt1 (80.156.86.78) 56(84) bytes of data.
64 bytes from vvvvvv.q3g87uv8123907.qt1 (80.156.86.78): icmp_seq=1 ttl=249 time=55.6 ms

[code]....

Posted: 04-09-2010

View 1 Replies!   View Related
Fedora Networking :: F13 - Resolve Names On Intranet?
I have a windows PC and a fedora 13 linux box. When connecting to the linux from windows, I'd like to type the hostname instead of the ip address. Apart from setting the hostname, what do I have to do to publish my hostname on the intranet. (set up a nameserver?)

Though hostname works on the linux box, even this fails: nslookup myhostname Also I'm a newbie. I've tried installing some packages like samba and dhcp, using yum...;service chkconfig... and then checking whether nslookup or nmblookup work with my hostname. But it's just guesswork. Under system -> Administration there is no network option. but it is not clear what package is needed to install it, or whether such a thing is supported in fedora 13. I did try system-config-network, but it has few options none of which pertain to hostname resolution. The fedora manuals dont seem to cover it, at least in recognizable plainspeak to me.

Posted: 16th June 2010, 07:49 PM

View 14 Replies!   View Related
OpenSUSE Network :: Resolve Local Hostnames Without DNS ?
How do you get linux to resolve local hostnames without DNS?

I've recently migrated from a fully windows home network, to a few linux machines and im unable to ping any local machines with hostname via these linux machines. i can ping IP and internet hostnames. also, windows > anything pings ok too. however linux > anything will not ping via hostname.

I beleive it's an additional service running on windows to resolve hostnames without DNS (wins/netbios).

DNS is done via a netgear DG834 router (DNS forwarding).

I know i could either use direct IP, or add machines into the hosts file, but im wondering if theres some way around that and to have it dynamically update like it does on the windows machines. static mappings seem a bit silly inside DHCP zones

I've seen some reports of avahi causing local network issues (taking over the .local domain), but i think this only extends to having to manually enter in .local after the hostname and even after removing avahi, the problem is still present.

Posted: 14-Jul-2010 12:06

View 9 Replies!   View Related
Fedora Networking :: Local Host Names Without Domain Using Bind?
I want to use single label host names on my local LAN, without using any domain (at least no registered one). My machines should be named in a fashion similar to 'myserver', 'mydesktop' etc. so that i from a browser on any LAN machine may write 'http://myserver', and get the webserver on 'myserver' (so NO domain part, e.g. myserver.domain).

Do i need to create a DNS zone for each host or is there a way to put all host in a single zone, if so; which? Would such a name be considered a root domain?

Posted: 10th May 2009, 05:55 PM

View 4 Replies!   View Related
Ubuntu Networking :: Can't Resolve .local Domains Anywhere Except With Nslookup
I'm finding that I can not resolve .local domains anywhere except with nslookup and found on the LucidLynx release notes that there is a problem with avahi causing this. Although the avahi service is convenient for locating printers and such can anyone else tell me what other services/options will be impacted on a default installation of Ubuntu if I disable this service?

Posted: November 29th, 2010

View 1 Replies!   View Related
Ubuntu Networking :: Configuring Bind To Resolve Local Hosts?
The little home server of mine has bind configured as a caching dns server. I would like to configure it to resolve local host names. I know dnsmasq can do this, so what would someone need to do to get bind to do this?The network is entirely private with all private IPs which are distributed by dhcpd.(While writing this, the feeling creeps in that it would be easier to just have dnsmasq running.)

Posted: May 24th, 2010

View 2 Replies!   View Related
Ubuntu Networking :: Unable To See Local Web Sites From Local Network
I have installed a web server on my local network. Everything is well configured and web pages are shown correctly from Internet (outside the local network) using the domain or the public IP.The issue is if I try to see that web pages (using the domain or the public IP) from inside the local network. In that case the router config page (192.168.1.1) is shown instead of the web pages.From inside the local network I'm only able to see the web pages using the internal IP address (192.168.1.XX).

Posted: June 28th, 2011

View 2 Replies!   View Related
Ubuntu Networking :: Can See All Devices On Local Network And Their Local Ip Addresses
I'd like a way to see all of the devices on my local network and what their local IP address is. I recall that I used wireshark to troubleshoot a similar problem a while back, but it doesn't seem to have a way to see all of the devices- only the traffic. (I'd like to do this without having to physically interface with my router if possible, and I am in an encrypted network if that matters)

Posted: May 16th, 2010

View 6 Replies!   View Related
Ubuntu Networking :: Use Local IP Only On Local Network?
I've got an Ubuntu server hosting our websites and other various things here in our own home. We recently switched to a router that doesn't support loopback (abomination), so I've set up hosts files on our computers so we can access our own sites when on our home LAN.

However, we often take our laptops as we travel about, and I'm guessing due to the hosts files when we try to access our sites, it'll look on whatever local network we're connected to for our server, which won't work, obviously.

Is there a way to set up something like a hosts file that'll only try to look up the local IP of the server when we're on a specific network (our home one), or have one that tries to look for the local IP first, then proceeds to try and resolve the domain name and use the external IP if the local IP doesn't work?

Posted: May 25th, 2010

View 6 Replies!   View Related
CentOS 5 Server :: DNS Does Not Resolve Names Except To Localhost
We installed CentOS 5 at our school and are attempting to get 2 simple DNS servers online. These are simple name resolution servers for our network. We installed the needed caching nameserver packages via Yum and all seems to be well, but for some reason when the server is online, it fails to resolve DNS records except when we direct the requests to its 127.0.0.1 (localhost) interface. As for the server specs, the DNS server is running on a Virtual Machine, and the ESXi server has 2 quad-core Xeon CPU's with 48 Gigs of RAM (in short.. hardware is adequate.)

Here's more details:
When the box boots up, we can confirm that the named service is running and it resolves DNS records when we direct queries to its localhost address:
[root@ns1 ~]# dig hotbot.com @localhost
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> hotbot.com @localhost
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55510
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 0 .....
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> hotbot.com @66.186.176.2
;; global options: printcmd
;; connection timed out; no servers could be reached

What would cause the Named service to not answer DNS queries from the physical IP but only from it's internal IP?

Posted: 2010/2/9 15:05

View 1 Replies!   View Related
Fedora Networking :: Change Network Interfaces Names?
I found problem in FC 12 release. I installed fc 12 to server (earlier there was FC 7). Then as always i realised that names of interfaces (eth0, eth1, eth2 .... eth9) changed after install. eth0 became eth9, eth1 became eth5 ... Earlier on previous fedora releases i solved this problem correcting HWADDR in ifcfg-eth files, so i linked MAC addresses to names (eth0, eth1, eth2) as i wanted in a right order. Now I can't do this. After correcting these files and restarting network sevice i constantly get a message: device ... has different mac than expected. I looked ifup-eth file and compare it with the same one in fedora 7. And i found that in fedora 7 there is function rename_device which processes if HWADDR value doen't coincide with real mac address value. See code:

# remap, if the device is bound with a MAC address and not the right device num
# bail out, if the MAC does not fit
if [ -n "${HWADDR}" ]; then
FOUNDMACADDR=`get_hwaddr ${REALDEVICE}`
if [ "${FOUNDMACADDR}" != "${HWADDR}" ]; then
curdev=`get_device_by_hwaddr ${HWADDR}`
if [ -n "$curdev" ]; then
rename_device "${REALDEVICE}" "${HWADDR}" "${curdev}" || {
echo $"Device ${DEVICE} has different MAC address than expected, ignoring."
[Code].....

But in fc 12 release there is no function rename_device!!!!!!!!! So in this case if HWADDR value is not the same as FOUNDMACADDR value (which equal to REALDEVICE mac address) i just get an error message So I can't change interfaces names, as result i can't organize right order of network interfaces as it was earlier on fc7.

Posted: 11th December 2009, 02:05 PM

View 1 Replies!   View Related
Server :: Using BIND To Resolve Internal Non-FQDN Names
I have an RHEL5 server running BIND. I'd like to be able to resolve internal, non-FQDN names such as "wiki" for the company internal wiki. in my named.conf file...Named-checkzone returns no errors, and nslookup works when specifying the server explicitly, but no browser resolves the name when entered in the address line. I know this by no means a standard use of BIND, but I'm sure someone out there's pulled this off. I did see when googling someone suggest "load the root zone (.) as master, and add your "hosts" as TLDs, using CNAMEs", but tried that and probably did it wrong since it didn't work.

Posted: 09-03-2009, 10:50 AM

View 1 Replies!   View Related
Fedora :: Browsers Don't Resolve Domain Names While Other Programms?
I'm new here, so please be gentle! I recently installed F12 64 KDE on my Acer Aspire 1810TZ, could connect to the WLAN router but neither the native Konquerer nor Firefox could open any pages...

resolve.conf has the DNS according to DHCP offer, from command line dig properly resolves the name, ping (e.g. google) works, telnet to domain-name on port 80 works, GET too. When using the browser with the domain-name I tells me "Server not found", tcpdump doesn't display any activity. But when I manually change the domain-name with the IP (received by command line dig) then the browser has no problem how do browsers interact with the network resources of the OS?

Posted: 16th April 2010, 10:14 AM

View 4 Replies!   View Related
General :: Windows XP Machines Can't Resolve Names On To Redhat 5 Dns Server
I configured my dns server running on redhat5(test.com, ip-192.168.10.1), all is working perfect on the server its-self and on the client machine(xp), it cant resolve the name [url] but can resolve when i use [url]are ok, nslookup displays the following error:

The reverse is working fine from the redhat machine, NO firewall on the client xp machine xp as host name is added in /etc/hosts

Posted: 06-07-2010, 10:32 AM

View 4 Replies!   View Related
Software :: Windows Computers Can't Resolve Samba Share Names In 10.04
After upgrading my ubuntu server from 9.04 to 10.04, the window computers couldn't resolve samba shared names anymore, the error code displayed by Windows was 0x80070035.

I was using the ubuntu server as a samba server, using 'share' as the security authentication method, it has been working very well under previous ubuntu versions but, after upgrading to 10.04, the windows computers can't access the server shares anymore; the linux computers don't have any problems (I can access the shares from linux).

As a workaround, I've added the name of the server in c:windowssystem32driversetchosts; but I'd like to know how to fix the problem without modifying every windows computer.

Posted: 10-02-2010, 05:27 PM

View 1 Replies!   View Related
General :: Ubuntu Not Resolving Local Names ?
I have been casually using Unix for about 20 years, but I've never really done anything beyond basic user things unless I had instructions/help.

I've set up an Ubuntu 10.04 system and it works great except for one thing. It doesn't resolve local names.

I can ping or access other systems by IP Address and I can resolve internet names with no problems, but it won't recognize any of the other systems on my home network.

The system is set up for dhcp and everything is defaulted from the installation. There is no DNS suffix or domain set up on my router.

Posted: 09-22-2010

View 8 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved