Debian Configuration :: Cannot Resolve Local Network Names Only
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.
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?
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.
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.
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.
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.
Two nights ago I decided to switch from testing to unstable. Since then I am able to connect to the internet, but not to anything on my local network. I am unable to ping this computer from another one on the network. This computer is connected through wireless. I thought that something might have changed with iptables that was blockinghe localnetwork. I tried to "flush the iptables settings with "iptables -F". Since that didn't work I uninstalled iptables (which didn't work and I reinstalled iptables). In my browser I tried to connect to my router and that doesn't work either.I connect to this computer daily through ssh and connect to a NAS. Without ssh and my NAS I feel kinda lost
I'm trying to set up a *simple* MTA in my local network. The only thing it should be able to do is send system / daemon mails to admin@mylocaldomain. but at the moment I'm pretty much overwhelmed by everything i *should* know in order to set up this MTA
I configured exim to be in "internet"-mode. now i have a variety of errors I can choose from (and a variety of solutions that i don't like ).. my test is always an email from test01.mylocaldomain:
echo "Hello World" | mail -s Testmail admin@mylocaldomain
- after running the config, i get the error: admin@mylocaldomain: all relevant MX records point to non-existent hosts --> google says, edit and udpate update-exim4.conf.conf --> dc_relay_domains='mylocaldomain' --> but this exim installation should not be a relay at all. it should only be able to SEND (to this domain), not deliver it. or do i get something wrong?
- after i added dc_relay_domains='mylocaldomain', i get --> SMTP error from remote mail server after RCPT TO:<admin@mylocaldomain>: host mail.mylocaldomain [192.168.x.x]: 550 5.1.1 <root@mylocaldomain>: Sender address rejected: User unknown in virtual mailbox table --> but i don't want to create an account on the mailserver for the SENDER...
- ...so i thought, i'd config exim with the domain "test01.mylocaldomain" (including the server name), so that the sender is clearly from another domain than the mail server handles (e.g. email@example.com).. but then i get this --> SMTP error from remote mail server after RCPT TO:<admin@mylocaldomain>: host mail.mylocaldomain [192.168.x.x]: 450 4.1.8 <firstname.lastname@example.org>: Sender address rejected: Domain not found
I really just wanna send mails in my local network.
I have a new Debian 5.04/ppc install on a G5 tower and it's not able to browse the local network. The clean install could see the network, then I installed the Samba server, and it hasn't worked since. Samba server never really worked, and I'm guessing I messed something up. I've reinstalled network-manager, and removed / reinstalled samba.
I have a small home network (6 machines) running wired and/or wireless, pc/mac and linux.This machine can PING other machines by name and IP address.This machine can PING itself by name and IP address Other machines can PING this machine by IP address only, not by name.Nautilus network browser only shows the "Windows Network" icon, which, when clicked, shows an empty window.I've got networking up fine on all my other machines but this one is stumping me.
At home I have two computers running linux connected to the same router. I would like to be able to connect them so that I can move files between them and execute simple commands. What is the most simple way to access a prompt on the other computer or to mount a partition currently used by the other computer?Using the www it is possible to connect two computers using ssh, but it should be easier to do this over the LAN, right? I have been googling a lot but not found anything.
I have installed apache php and mysql on my pc during debian installation... some of my friends complain they cannot access my webserver from their home and it's available only within my local network... Please help regarding this...
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.
I am working on a Debian 2.6.26-19 Distribution with exim4 as MTA. After a system restart a problem occurred with delivering emails to local addresses. These local addresses use a 1and1 mailserver for email. The MX records for the local domain are set correctly but exim does not use a DNS lookup for these addresses because it identifies them as local addresses. I figured this out by executing the exim4 -d -bt command. The dns lookup part of the result looks like this (I replaced the actual address with placeholders):
The eventual result of the exim4 -d -bt command is: [user]@[domain.ext] is undeliverable: Unrouteable address How can I make sure, that exim4 makes a DNS lookup for the local addresses instead of skipping it? I know that I have to edit a exim4 configuration file, but I could not figure out which and how.
So I recently upgraded from Debian 5 to Debian 6 and now for some reason I cant SSH into my server FROM my server. All of the following fail with the same error:
They all come back with: ssh: Could not resolve hostname 127.0.0.1: Name or service not known. I never actually tried this before upgrading so I'm not sure if its caused by the upgrade, but I would like to get this fixed. Also, ping with all of the above hostnames fails as well. I can SSH in from other computers and I can SSH out from the server. For whatever reason, I cant SSH from the server to the server though.
I have installed WICD on Debian . I can now access a new a Network Manager screen, which did not exist before, but it does not display/detect any wireless networks. It is like dead. Before installing WICD I did at least have a wireless WPE encrypted network, which was detected, although it often disconnected for no known reasons. Now even that Network has gone and I can't go on line. Can anybody help here? How can I configure the WICDNetwork Manager to detect an existing network or create a new one? In the latter case, would I have to reconfigure the Router settings to setup/connect to a network in Debian? May be I have to do this, because Tor/Vidalia changes my IP address and so my Network Adapter ( Linksys) can no longer connect to the router. Also, when trying to follow troubleshooting leads in this connection, the Terminal screen on Debian ( CMD) would often return a PERMISSIONS DENIED message.
Previously, I issued a wakeonlan command to my sleeping debian (wheezy stable) server from (a mac) within my home network and then ssh in no problem. Worked like a charm. I could put it to sleep again and wake it up etc. Perfecto.
However, for some reasonI can now only ssh in once the server is rebooted (by physically switching it off then on again). If I put it to sleep then wake it, it does wake up --- however, ssh cannot then resolve the hostname:
--- >> ssh -vX email@example.com OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /Users/bob/.ssh/config debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: Applying options for * debug1: /etc/ssh_config line 102: Applying options for * ssh: Could not resolve hostname cerberus.local: nodename nor servname provided, or not known
I've installed newest Debian (Squeeze) and then on fresh system made instalation of VirtualBox OSE as it is written on http://wiki.debian.org/VirtualBox. I've also created virtual machine, however when I try to run it I got error message:
RTR3Init failed with rc=-1912(rc=-1912) Please install the virtual-ose-dkms package and execute 'modprobe vboxdrv' as root
I have a lab of 10 computers with ips from 192.168.1.120 to 192.168.1.130 the server's Ip is 192.168.1.116When I am on client computer I type the server's Ip address on the browser and it works. All i want is that instead of entering my servers Ip I could just enter an address like: example.lan
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.)
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.
I have squeeze with gnome. Various apps let me log in as root when needed to but if I logout as a user and try to login as root it won't let me (won't authenticate password). I had this problem before and reinstalled Debian and definitely checked for it to allow me to do this and it worked for a while after new install. Apparently some update overrode my preferences. This is a major defect and may force me to abandon Debian. I don't use root often but I don't have any use for a operating system that won't let me use it. Anyone know how to correct this. I am not interested in using a terminal on a regular basis or ever for that matter.
I've just installed Debian Squeeze from a live CD. When I open a web browser (be it iceweasel or epiphany) and try to go to google.com, it tells me it can't resolve the host name. [Edit: They do, however, allow me to go anywhere on debian.org, minus the search feature] I also get the same error when I try to go to my website running on a local server. However, when I type the server's IP address (192.168.0.10), it goes to the website fine. Basically, any program I run that needs to resolve a host name returns an error, with the exception of the host command:
I've tried changing my DNS server IP from 192.168.0.1 (my router, configured to provide DNS) to 192.168.1.254 (my internet modem, also configured to provide DNS). That didn't help any. Then I changed my DNS server IP to the same one used by the modem, and now everything works.
I've tried googling my way out of the issue, and I've found where someone had the same issue as I've got and fixed it by adding "blacklist ipv6" to their /etc/modprobe.d/blacklist.conf file, but that didn't work for me.
So, recap: Why does resolving domain names fail for certain applications (except the "host" program) when the DNS server IP is that of my router or modem (which works fine for all of my other computers), but suddenly works when I point the computer straight to my ISP's DNS servers, and how can I permanently fix the problem?
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.
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.
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 (126.96.36.199) 56(84) bytes of data. 64 bytes from vvvvvv.q3g87uv8123907.qt1 (188.8.131.52): icmp_seq=1 ttl=249 time=55.6 ms
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 @184.108.40.206 ;; 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?