Ubuntu Networking :: Resolve Local Network Names?
Mar 27, 2010
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
ADVERTISEMENT
Jul 25, 2010
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.
View 6 Replies
View Related
Mar 9, 2010
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.
View 4 Replies
View Related
Mar 19, 2009
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.
View 14 Replies
View Related
Dec 2, 2010
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.
View 3 Replies
View Related
Jan 28, 2009
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.
View 1 Replies
View Related
Sep 16, 2010
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.)
View 6 Replies
View Related
Feb 14, 2010
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.
View 2 Replies
View Related
Feb 14, 2011
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.
View 2 Replies
View Related
Jun 16, 2010
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.
View 14 Replies
View Related
Apr 9, 2010
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]....
View 1 Replies
View Related
Jul 14, 2010
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.
View 9 Replies
View Related
May 10, 2009
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?
View 4 Replies
View Related
Nov 29, 2010
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?
View 1 Replies
View Related
May 24, 2010
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.)
View 2 Replies
View Related
May 16, 2010
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)
View 6 Replies
View Related
Jun 28, 2011
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).
View 2 Replies
View Related
May 25, 2010
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?
View 6 Replies
View Related
Feb 9, 2010
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?
View 1 Replies
View Related
Dec 11, 2009
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.
View 1 Replies
View Related
Apr 16, 2010
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?
View 4 Replies
View Related
Sep 3, 2009
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.
View 1 Replies
View Related
Jun 7, 2010
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
View 4 Replies
View Related
Oct 2, 2010
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.
View 1 Replies
View Related
Sep 22, 2010
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.
View 8 Replies
View Related
May 31, 2010
I'm working with a Ubuntu 10.04 LTS system with two network interfaces (both Ethernet). I wish to setup this system such that it is simultaneously connected to my local and an OpenVPN network and able direct traffic between the connections depending on what program is sending the traffic. The problem: Under my current OpenVPN configuration all network traffic is directed to the VPN.
My OpenVPN config file (some details omitted)
--remote [gateway ip] # vpn12 load:
--remote [gateway ip] # vpn11 load:
--remote [gateway ip] # vpn15 load:
--remote [gateway ip] # vpn16 load:
[code]....
In practice, I would like OpenVPN to operate out of one of my two network interfaces and leave the other interface connected to the local network. Then by default all network traffic should be directed to my local network unless I specify (on a per program bases) that certain traffic should go though the VPN. These two network connections can (should) stay completely independent of each other and do not need to talk to each other.
View 2 Replies
View Related
May 23, 2010
I cannot browse the network from Ubuntu, but I can see the ubuntu machines from the windows including file and printing.
Nautilus gives the following error:
Could not display "network:///".
Nautilus cannot handle "network" locations.
Workgroup names all set the same
Sharing allowed on all machines
I have read all of the postings on this I think and have not been able to implement a solution.
View 6 Replies
View Related
Mar 31, 2009
I have two networks. One of them is wired, the other is wireless. The wired has an internet connection and a few other computers connected to it. The wireless network has a few hosts connected to it too, but it has no internet connection. What I've been trying, fruitlessly, to do, is make all connections that are bound to the internet, or my wired network, be routed that way, and all the connections to the hosts of the wireless network go that way.
Here's the setup..
Wired:
192.168.1.0/24 Gateway = 192.168.1.1
Route internet through here
Wireless
192.168.2.0/24 Gateway = 192.168.2.1
If my computer sends a packet to the internet, it should be routed through 192.168.1.1 If I send a packet to one of the local hosts of the wireless network, it should be routed through 192.168.2.1. Here's the routing table I've set up(This is one of many configurations I've tried)
Code:
$ ip route show
192.168.2.1 dev wlan0 scope link
192.168.2.0/24 via 192.168.2.1 dev wlan0 src 192.168.2.4
[code]....
With this, and everything else, I get destination host unreachable when pinging. The strange thing is that, if I unplug my eth cable, reboot and connect to the wireless network, everything is fine and I can access the router and the others. I'm trying to improve my networking skills, as I've had this of setting up a small linux box as a router for quite some time, for the fun of it, but I need to get routing under control before I go ruin my network.
View 6 Replies
View Related
Jan 19, 2010
before i upgrade to karmic i used to visit some local domains like freenas.local.
But after the upgrade the domains doesnt work. I can go to smb://freenas/ but in firefox / chrome or in fstab i cannot use freenas.local ...
View 2 Replies
View Related
Sep 5, 2010
I am using an Asus EEE PC 900HD netbook and lately Ive been having trouble connecting to my wireless network (WPA2 secured). The WiFi adapter is a RealTek RTL8187SE. Every time I try to connect Network Manager prompts me for my WPA2 wifi security key, which already happens to be entered in the prompt. I then press Connect but after a while the prompt with the password already entered appears again without connecting to the network. I should point out that this issue only seems to happen on this network.
All other networks (including other WPA2 networks) I can connect to with ease. I have MAC address filtering enabled on this network and have the MAC address properly entered in my router and have been able to connect to my network in the past until now. I believe this is a problem with gnome-keyring as I when I first started using Ubuntu on this computer (9.04) I got confused with the whole default password for keyring thing and I messed it up so that every time I connect to this particular network the Network Manager prompt would appear and I would have to press Connect to connect to my network
[URL] I also tried deleting all my network connections and reconfiguring them to no avail. In my troubleshooting I did make an interesting discovery however. I plugged in a USB WiFi adapter (RealTek RTL8187B) thinking I could at least connect to my network and browse these forums for a solution to this problem. The USB adapter connected to the network and I was able to brose the Internet. I then disovered that I could go into into Network Manager and get the other adapter to connect. I coud then unplug the USB adapter and the other adapter stays connected and works flawlessly. how can I get my netbook WiFi adapter to connect to my network automatically?
View 8 Replies
View Related