General :: Can't Resolve Hostnames On Ubuntu 11 / No DNS?

Jun 24, 2011

I recently assembled a new computer with both Windows 7 boot and Ubuntu 11.04 boot.For some reason, I can not resolve domain names at all on in Ubuntu while Windows 7 works just fine. I'm wondering if I have improperly configured my network settings. I am trying to configure this machine to have a static IP on my network of 192.168.1.3..The machine definitely has its network card installed properly and in Ubuntu I can access numeric ip addresses anywhere via browser or ssh.When I type in "google.com" in a browser I get an instant 'server not found' error page.

Anything that is described in my hosts file seems to work just fine. I can ping my router which has a LAN IP of 192.168.1.1 just fine with no packet loss.Also, I am unable to access this machine via ssh from any other machine on the network.

View 14 Replies


ADVERTISEMENT

Ubuntu Networking :: Possible To Use Avahi To Resolve Hostnames Across Gateway

Nov 26, 2010

I am wondering if it is possible to use avahi to resolve hostnames across a gateway. With gateway I mean a linux box with ip_forward'ing enabled to pass traffic between interfaces. The gateway connects two networks with all hosts running Ubuntu and specifically avahi-daemon. The gateway is not running avahi and I am not able to install it there. The firewall configuration on the gateway is not blocking any traffic between the networks. I am able to send UDP packets from a host on one network to a host on the other.

When I run tcpdump on a host and try to ping that host.local from a machine on the other network I see no traffic. This means that the gateway is not passing the multicast traffic along. Is there any special setup required on the gateway to allow this?

View 2 Replies View Related

OpenSUSE Network :: Resolve Local Hostnames Without DNS ?

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

Networking :: How To Resolve Hostnames On DHCP Home Network?

Jun 28, 2010

(although I'm running Solaris, I've posted here as I expect Solaris/LINUX is irrelevant) - more of a general network Q.I have a PC running Solaris 10 (hostname MARKUNIX) and a laptop running WinXP (hostname MARK-LAPTOP). Both are connected to broadband via a router. IP addresses for each are determined via DHCP (192.168.1.nn) and I do not leave either on, 24x7. I am running Oracle on MARKUNIX and want to be able to refer to it by hostname when using Oracle tools on my laptop.Each machine can ping each other ok by ip address and curiously the Solaris PC can ping MARK-LAPTOP (I'm not sure how it resolves that?) - importantly the laptop cannot ping MARKUNIX.Now I could add MARKUNIX to my laptops hosts file but that would mean changing the file each time I boot up as the ip address for MARKUNIX will keep changing (DHCP).

Is there a way to refer to MARKUNIX without having to keep changing ip addresses and use DHCP? As I understand it the 192.168 address is private and is not really the 'real' ip address and as such can be manipulated(fixed?) even whilst using DHCP?Am I right in thinking that a static ip from my broadband supplier is the ip of my connection (router) and I'll still have the same private network referencing issues?What I've covered above pretty much is the extent of my knowledge of networking so bear that in mind please.

View 4 Replies View Related

Networking :: Configure To Resolve For Hostnames When An IP Address Is Provided To DNS Server

May 21, 2010

How do we configure to resolve for hostnames when an IP address is provided to the DNS server.

Things I tried

The DNS daemon was started by the resolution failed. Find the logs below

** server can't find 11.127.168.192.in-addr.arpa: NXDOMAIN

View 4 Replies View Related

Ubuntu Networking :: DNS Unable To Resolve Hostnames Ubuntu 10.04

May 10, 2010

I am working behind an ISA Server proxy in a windows network. I have an Ubuntu 10.04 without have it added to windows active directory domain.I have configured Ubuntu network proxy, and everything works fine ..but:I can't ping, host, nslookup & most important I can't wget (wget: unable to resolve host address) from the terminal. I have read lots of forums and I tried to resolve the issue but I failed.Also before I had in the same network Ubuntu 9.04 (in another pc) and wget was working fine.

View 3 Replies View Related

Ubuntu Networking :: Cannot Ping Any Hostnames On Our LAN

Jul 22, 2010

I cannot ping any hostnames on our LAN /etc/resolv.conf has both name servers configured correctly. I can ping the IP, but can't ping the hostname. I know it's something really simple, just can't put my finger on it.

View 9 Replies View Related

Ubuntu Networking :: Can Hostnames Be Setup Without Modifying

Jun 24, 2010

Every time I do a fresh install, there are a number of manual config things to change. One of them is to modify /etc/hosts to add the local IP addresses to a computer name.Can this be done via the Ubuntu networking somehow ? It would be nice not to have to change some of these config files.

View 4 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 :: Resolving/finding Hostnames Automatically?

Mar 16, 2010

I have a ubuntu server running which acts as a firewall/dhcp router for sharing internet to all computers on the network. On the network i have my stationary computer (win7) and my laptop (macbook).The server has 3 nics installed.ETH2 for internet. ETH1 (192.168.1.2) for windows pc. ETH0 for macbook (192.168.2.2).I can share files no problems over the network. Between windows <-> server, macbook <-> server, windows <-> macbook.The problem i'm experiencing is that i can't seem to find either hostnames between windows and macbook. They connect to each other fine with the right ip addresses, but they can't seem to connect when using computer names.

On both the macbook and windows pc i can see the server and connect to it without using the ip adress.What can i do to make them see each other with their computer names? Is there anything i can install on the server and configure in order for it to work automatically?In osx you have a tab in the finder that says "shared" which shows the computers on the network and only my server pops up.The same in windows, i can only see the server but not the macbook.As said, it works perfectly fine if i use \192.168.2.2 (or smb://192.168.1.2 on the macbook) but i'd rather be able to connect via the computer names.Would also love if they could resolve automatically so when a friend connects to the network i'll see his computer name right from the start, without any re-configuration.

View 9 Replies View Related

Fedora :: Hostnames - Upper Or Lowercase ?

Aug 26, 2011

What is the general feeling for the case of hostnames in Linux/UNIX, is it preferable to have them in lower-case or upper-case? I have always preferred them as lower-case but I am interested to see if there are any arguments for or against this practice.

View 1 Replies View Related

Server :: DNS Not Working With Short Hostnames

Jul 20, 2010

I have changed some settings on my DNS / DHCP config under Debian Lenny, and now when i try to ping some box it only works with long names.

For example:

Ping borsti doesnt work (can not find host) but if i use ping borsti.borsti.iss it works. I have no idea why it doesnt work because i only modified the dnssec-key (created a new key) and nothing else in te config Here is the config i used for bind: (taken from named.conf.options and named.conf.local)

And here is my dhcpd.conf:

View 4 Replies View Related

Server :: DNSMASQ - How To Automatically Add Hostnames

Jan 1, 2011

I am using DNSMASQ on a Debian 5.0.6. server. I configured DNSMASQ as DHCP server, and want it to answer local DNS requests. However, I am unable to use hostnames, and am forced to use IP addresses when pinging, opening a ssh shell on a remote server, opening a remote desktop to a windows system etcedtera.

Because I use DHCP, I can not hard code the ip addresses in the hosts file. How do I configure DNSMASQ so that i can use hostnames for computers who get their IP addresses from DHCP.

View 11 Replies View Related

Server :: Apache Logging Client Hostnames Instead Of IPs ?

Mar 12, 2011

Setup a new machine with Apache, identical setup to all the other machines I got, yet this one is logging hostnames instead of IPs.

"HostnameLookups" are "Off" and LogFormat settings are identical to all the other machines:


Code:

Added a new LogFormat directive:


Code:

And told the virtual hosts to use it:


Code:

This solved the problem, though I'm at a loss as to why I've got this behavior on just this one box and none of the others. OS is Debian Lenny, same version of Apache installed via Debian package.

My understanding from Apache doc [url] is that when "HostnameLookups" are "Off, "%h" will yield IP instead of hostname..

Code:

It features support for HTTPS, virtual hosting, CGI, SSI, IPv6, easy scripting and database integration, request/response filtering, many flexible authentication schemes, and more. Homepage: [url]

View 4 Replies View Related

Server :: BIND Not Returning Windows DNS Hostnames

Jan 5, 2010

I have a situation where I have two DNS servers - a BIND one for our Unix hosts and a Windows Server DNS one for the Exchange and other Windows hosts. I set up the BIND server to slave from the Windows one, which it seems to do just fine.

Windows DNS has entries like "_gc._tcp.domain.local" in it, which are needed for domain logins, etc.

However, when I try to use nslookup on those entries, it fails when querying the BIND server. When I do a domain transfer with dig, I get all the answers I expect.

This failure means that the Windows boxes can't query the BIND server for the answers they need. By default, from DHCP, it is the BIND server they get, so that's a big problem. If I manually switch their DNS to the Windows server, it works perfectly.

View 1 Replies View Related

Ubuntu Networking :: Can't Ping Via 'morbo.local' - Can't Reach Systems By Hostnames

Jul 8, 2010

I recently set up an Ubuntu server computer (10.04) with the hostname 'morbo', and with a static IP address. With all my other ubuntu systems i can ping and ssh using their host names, like:

[code]...

i can't reach it via 'morbo.local' nor can i reach my other ubuntu systems from morbo by their hostnames. I have seen a 'quick and dirty' solution which might help here : [URL]... , but i don't want to have to add every system to morbo's list and morbo to every systems list, and because it works without manual configuration on all my other systems, i don't see why it shouldn't be possible here. Currently everything connects to one d-link router - does this mean it is the DNS server?

View 9 Replies View Related

Debian Configuration :: How To Connect To Hostnames Over LAN That Router Assigns

Sep 29, 2015

So I have a router that I've gotten from my ISP, which seems to run a hardened, custom version of OpenWRT. By that I mean it's read-only and has a lot of files mostly in RAM. So putting custom firmware on it is not an option for me right now, as it's by only router. Actually, it's not just a router, it's an Actiontek modem/router combo.

So anyway, lets say I have a machine on my LAN and I want to basically SSH into a box by hostname. Now the thing is, I prefer using OpenDNS (previously OpenNIC) as my DNS, and so I don't use my router as my nameserver, though I could do that.

So how do I connect to my machine by hostname? I would prefer a solution that does not use Avahi/Zeroconf or editing the hosts file. People have said setting up a local DNS server might be okay, but I'd have to do that for every machine I'd want added to my network. Kind of almost as bad as editing a static hosts file. I use really want to use DHCP over static IP assigning, and the one on my router is not as advanced, so I can't use my hosts file. And also,

So is Zeroconf the only solution? I'm not sure how to set up Zeroconf. Do you just install Avahi?

I want a simple, almost Arch-linux solution, lean and clean, using only the most minimal software. I don't care how much configuring I'd have to do, as long as it's going to stay reliable as well.

View 2 Replies View Related

Debian Configuration :: OpenVPN And IPTables - No Local Hostnames Accessible

Feb 7, 2016

I managed to set up an openvpn server, ip-forwarding and a nat iptable rule for that.

Almost everything works as expected, but my problem is:

Smartphone -> VPN -> Internet ==> works (by ip and hostname)
Smartphone -> VPN -> machine in my local network by IP ==> works
Smartphone -> VPN -> machine in my local network by its hostname => DOES NOT WORK
Machine w/ VPN server -> ping to machine in local network by ip or hostname => works

So, i wonder why i cant access a local machine through the vpn by its hostname. I guess I'm missing a forwarding rule??

iptables dump:
# Generated by iptables-save v1.4.21 on Sun Feb 7 20:56:52 2016
*nat
:PREROUTING ACCEPT [786:59064]
:INPUT ACCEPT [728:53047]
:OUTPUT ACCEPT [19:1487]
:POSTROUTING ACCEPT [20:1576]
-A POSTROUTING -s 10.8.0.0/24 -j MASQUERADE
COMMIT
# Completed on Sun Feb 7 20:56:52 2016

View 0 Replies View Related

CentOS 5 Networking :: Numerous Hostnames On Numerous Interfaces?

Aug 13, 2010

I'm curious; for a current project a server has 4 network interfaces (eth0 and eth2 are in a bonded pair using the bonding module, and then eth1 is being used for management, while eth3 is currently unused but may be utilized for iscsi in the future).

We need to configure two different hostnames, one for the bonded pair (bond0) and one for eth1. Now I have been googling around to try and figure out how the heck this is done but I can't find much of anything. In some methods it mentions using the hostname command, however this isn't persistant after reboot.

Another mentions just editing the /etc/hosts file but I thought that was only used locally? Both bond0 and eth1 will be on separate VLANs with different DNS servers, so it needs to end up with two different FQDN's

View 1 Replies View Related

General :: Why 'dig' Could Not Resolve Name To IP

Feb 25, 2010

Code:

root@localshot:/etc/rc.d# host dc3
dc3.test.com has address 192.168.1.2

Code:
root@localhost# nslookup dc3
Server: 192.168.1.100
Address: 192.168.1.100#53

[Code].....

Why 'dig', could not resolve name to IP, whereas 'host' and 'nslookup' could...

tested on RHEL5 and Slackware 13

View 2 Replies View Related

General :: Clinet Is Not Able Resolve Name

May 17, 2010

I am trying to setup a DNS on Fedora12. Here is my /etc/named.conf file

Code:
options{
listen-on port 53 { 127.0.0.1; 172.17.70.150; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";

[Code]...

View 5 Replies View Related

Ubuntu Networking :: Resolve/general Connection Errors Under 11.04?

May 28, 2011

I have a Lenovo Thinkpad SL510, with a "Realtek RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)" wireless adapter, on Ubuntu 11.04 x64. When I run updates, I get many resolve errors "Something wicked happened resolving us.archive.ubuntu.com," and other errors like that.Also, the internet connection runs incredibly slowly, and a lot of my downloads through firefox freeze and fail. I'm wondering if all of these problems are connected. Here are the contents of /etc/resolv.conf

Code:
domain gateway.2wire.net
search gateway.2wire.net

[code]....

View 1 Replies View Related

Ubuntu :: Window Manager General Failure / Resolve This?

Jul 28, 2011

I installed Xubuntu 11.04 a few days ago, and everything's been more or less fine since then. But I installed some updates last night, paying no attention to what they were, and this morning I logged in to find problems.

Open windows do not get registered with window listings (like in the top panel, for instance). All windows open above desktop panels, and cannot be moved behind them. Some windows open with their title bars above the top frame of the screen, but Alt + Click/Drag doesn't grab the window. Maximizing and minimizing windows do not work. There is simply no reaction to clicking them. I logged out and also restarted the system to see if it was a fluke, but it's not.

Otherwise, everything still seems to be functional. I'm writing this post from the laptop that's having the problem. I'm going to try uninstalling the crappy ATI video drivers and see if that resolves the problem.

View 2 Replies View Related

General :: ATI Driver (Unable To Resolve Execstack) Ubuntu

Feb 12, 2010

The proprietary drivers that came with my ubuntu 9.04 installation are not doing their job. My cpu is managing my graphics (compiz-fusion, and a 3d obj running in the background) and I alway have a core of my phenom processor close to 100. I have an ATI 4870 gpu with 2gb internal ram on the card. Also, recordmydesktop, electric sheep, and any other simple graphics all lag. 3d games on the other hand have no problem. I decided I would try the driver I downloaded from AMD. I removed the proprietary driver, ran...

Code:
sudo sh ./ati-driver-installer-10-1-x86.x86_64.run --buildpkg Ubuntu/jaunty
and I get

Code:
Created directory fglrx-install.lPNHYh
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.69 .....
/bin/sh: execstack: not found
make: *** [binary-install/xorg-driver-fglrx] Error 127
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
Removing temporary directory: fglrx-install.lPNHYh

How to make the proprietary driver work better I'm all for that to.

View 3 Replies View Related

General :: Can't Enable Visual Effects On Ubuntu 9.04 / Resolve This?

Oct 3, 2009

I have a problem and i hope you can help me fix this.
the problem is that when i want to enable the visual effects by system>preferences>apearance and i select the visual effects nothing happends and i get a box that says could not enable the visual effects.
soo my question is wath is wrong? do i need to download something? or can i not use it i have a integraded grhaphics card a x3100 its a dell inspiron 1525

View 2 Replies View Related

General :: Evolution Mail Always Crashes In Ubuntu 9.04 / Resolve This?

Jul 31, 2009

I encounter a serious problem with evolution mail in ubuntu jaunty ...
probably after a recent upgrade!

When I click on Evolution Mail icon the applications is loading o.k.
Then at the bottom bar it shows the message "Fetching Mail (...)" And then it suddenly closes... And this behaviour is a standard one.

a) I erased the .evolution directory in case it is corrupted, so forcing the application to re-create it... No success.

b) I booted using the previous kernel (2.6.28-13-generic) The new one is 2.6.28-14-generic ... Same problem

c) I re-installed the application ... No luck!

d) I checked the /etc/nsswitch.conf file... Here is it's content code...

I don't see something strange here ...

Does anyone experience the same problem ?
What shall I do ? Wait for the next upgrade or turn back to Thunderbird?

View 4 Replies View Related

General :: Can't Connect To Network / Resolve This?

Jan 5, 2011

I have a problem:

I am on Debian. I configured my nic with a static ip (192.168.1.56).

When I try to connect to a network, initially with ifconfig eth2 I get (correctly):

eth2 inet addr:192.168.1.56 ....
inet6 addr: fe80:221:ff:fe96:4598/64

but after a few seconds the 192.168.1.56 disappears and after some other seconds disappears the inet6 address too.
When I press in the nm-applet it requires me the password but in the meantime it try to connect.

At uni, the connection is a DHCP one. It works for the first few seconds but after it doesn't.

Any possible solution?

Here it is the relevant part of the syslog: (static ip configuration)
http://pastebin.com/u3BPAsda

View 1 Replies View Related

General :: ACL - Permission Denied / Resolve This?

May 17, 2011

I'm hoping someone can help me out with this issue I'm having using acl(s). I have a user I want to grant access to logs I have stored on my server. I am doing this by setting up an acl to that directory where the logs are stored. My settings seem to look fine, however I cannot read or even reach the directory with the said user; we'll call him "userP".
Here is my code:

To ensure userP has access to the parent directory (jboss) code...

Not sure what I'm doing wrong here: there are no errors in the logs; just "Permission denied" however I try to get to the directory.
Does anyone know what I'm doing wrong?

View 4 Replies View Related

General :: Getting Gray X Screen When Using VNC / Resolve This?

Mar 18, 2011

I'm trying to setup an Ubuntu 10.10 desktop that will allow any number of vnc connections. When I try to connect (from Win7 using UltraVNC, which has worked for me using a comparable Red Hat RHEL 5.5 setup), I get a flickering gray X screen with no apps running, as if it were starting X over and over. I'm trying to make this display Ubuntu's login screen at that point.

I have installed vnc4server and xinetd. My xinetd config is code...

View 7 Replies View Related

General :: How Yum / Apt-Get Resolve Dependency Errors

Mar 22, 2011

Say if I want to install openssh in traditional way with ./configure then make and make install which works fine in Fedora but not in Ubuntu as it gives error for a Mailer program when ran ./configure, as sendmail is by default installed in Fedora but not in Ubuntu. What I need to know is how yum/apt-get resolve this dependency problem? Is there any file in the OS where it's listed all the dependencies along with the package names like in Redhat installation CD there are some XML files where it lists all the packages along with their dependencies.

View 2 Replies View Related







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