Networking :: Resolving Names - DNS Forward Over /etc/hosts Priority ?

Jan 25, 2010

In my network my proxy / firewall (iptables + squid) works as dns forwarder. I needed to configure an url at my /etc/hosts in my linux boxes which are behind the firewall into the lan. I want my machine to look at its local /etc/hosts file before querying the dns to the firewall.

Despite I configured my /etc/host.conf this way:

My machine keeps resolving the name through the dns forwarder (firewall) and not from the /etc/hosts file first.

Is there any action needed after configuring /etc/host.conf? Any service to restart?

View 4 Replies


ADVERTISEMENT

Networking :: Resolving Names From DNS Server ?

Jun 8, 2011

I have this in my resolv.conf file:

Code:

I have also used external DNS servers just to eliminate there being a problem with 192.168.1.67 (which many other computers are using successfully).

When I attempt to ping Google just to see if it works I receive this:

Code:

If I issue a host command against google.com I receive this:

Code:

I had thought that host and the name lookup routine would use the same DNS server and it should fail on the host command as well as the ping, but evidently not.

View 8 Replies View Related

Ubuntu Networking :: Wired Net Not Resolving Names / Fix This?

Jun 6, 2011

I'm on 11.04 on VMware 4.1, trying to get name resolution working. I can ping by IP other systems including on the internet. The network manager Icon on top shows a wireless icon, but the 'Wired Network' is grayed out and below that says 'device not managed'. What can I do to fix this? The interfaces file has the auto lo, then below that
iface eth0 inet static
stuff...
It doesn't work with or without the auto eth0 entries.

I have the nic set to DHCP and on my dhcp server gave it the mac address of the box to assign it an address, that is working.

View 2 Replies View Related

Fedora Networking :: Resolving Host Names To IP Address ?

Jul 27, 2010

At work we run DHCP. hostnames have the format: computername.city.mycompany.com

I have a laptop runing Fedora 13 and a desktop I use for backups, etc. My laptop is named copernicus. Desktop is named galileo. If ping either hostname from itself I get back the localhost IP address. If I ping the fully resolved hostname it tells me unknown host. The desktop is exporting an NFS share I use for backing up work data. I need the laptop to be able to resolve host names to mount the share since we use DHCP. The desktop is dual boot and if it is booted into windows my laptop can resolve the hostname properly. What do I need to do in Fedora to get it to register a hostname with the DNS and/or DHCP server? Should the domain and the search path below both say the same thing?

Here is resolv.conf on the laptop (I am at home). The desktop looks the same, except for a different nameserver. Both computers can resolve other hostnames, just not each other.

View 6 Replies View Related

Networking :: Internal Host Names Resolving Through External DNS?

Feb 6, 2011

I just set up my first ever bind9 DNS server running on ubuntu server 10.04. This server is also my gateway/dhcp server.

Here is what is weird: If I do a dig @8.8.8.8 dschuett-lmtl.scs.local from any of my clients it resolves?!?! Dig shows that it got the answer from MY Bind9 DNS server (and NOT Google's of course), but why is it still resolving when I'm telling it to use and external DNS server?

The other weird thing is that the SAME EXACT dig command above does NOT resolve internal host names if I do it from the Bind9 DNS server. - Which is what i would expect SHOULD be happening if done from the client machines...

Here are the dig results:

From any internal client:

Code:

View 2 Replies View Related

Ubuntu Networking :: 'Resolving Hosts' On Lucid - Pinging Self On WAN Temporarily Fixes

Oct 16, 2010

So I've been reading around a bit, and have found a few fixes for this Resolving Hosts problem, but none of them have fixed mine yet. Basically what happens is all browsers fail to load pages, pinging local network works, but pinging default gateway doesn't. Cannot ping external websites and cannot reach update or upgrade servers for ubuntu. All networking works as normal on all other PCs in house, as well as the windows 7 boot I have on my ubuntu PC.

What I've tried:Disabled IPv6 completely by preventing the module from booting up Manually setting network settings instead of using the router's DHCP server Changing DNS servers from ISP to Google public DNS to OpenDNS Buying a new ethernet card And a few other things I can't remember off the top of my head, none of which worked. From memory, all this just started happening out of the blue. I recently changed from Windows to Ubuntu, and was enjoying the switch but all of a sudden I couldn't get on the internet on Ubuntu.

Now, I'm not sure why, but I decided to ping myself. Not my LAN ip, but our router's WAN ip. It worked, albeit took a little while to return a response the first packet, but each subsequent packet after that was a normal speed (~0.5ms). The strange thing about this was that I found that for a few seconds after pinging myself, I could access the internet. After a few seconds though, it returns to it's resolving hosts self again, which another self-ping would fix.

Consequently, in order to browse, I have an open terminal constantly pinging myself which appears to be working. Not ideal, and certainly not something I would like to keep doing for long, but it works for now. I really like Ubuntu, but if I can't get this net thing fixed, I can't finish moving over from Windows!

View 7 Replies View Related

Debian :: Getting Resolving Netbios Names ?

Jul 11, 2010

I'm having trouble getting my debian box to find my windows box. This should be possible using netbios names.

The debian box is a newly installed minimal (nothing but base) release, to which I've added samba (using apt-get).

The windows box can see the debuan box just fine. Attempting to ping it by name results with:

Pinging debbox [192.168.1.100] with 32 bytes of data: ...

But going back the other way, the debian box can't see the windows box.

ping: unknown host winbox

I'm pretty happy that the windows box is behaving itself as there are no problems getting it to interact with other windows machines on the network.

Looking on google, the suggestion is to modify the host line in /etc/nsswitch.conf to include wins: hosts: files dns [b]wins[/b]

This worked on other linux machines in the past but not this time.

So my guess it that I've got SAMBA mis-configured or I'm missing a package.

View 1 Replies View Related

General :: Ubuntu Not Resolving Local Names ?

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

OpenSUSE Network :: Software Manager Not Resolving Domain Names / Sort It?

Mar 11, 2011

I updated to 11.4 today and software manager is having trouble resolving host names. below is the exact error through software manager

Download (curl) error for 'http://download.opensuse.org/distribution/11.4/repo/non-oss/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'

here are the steps that i have taken already to resolve and troubleshoot the issue.
i can ping Google.
i can browse the Internet
i can browser the repo Index of / through my browser.
i have insured that ipv6 is disabled through network configuration through yast.

View 3 Replies View Related

CentOS 5 Server :: ISCSI Devices Appears As Different /dev Names On Different Hosts

May 22, 2009

I have a fairly simple iSCSI setup using two devices, but they have swapped names on different machines. running CentOs 5.3 ia64, and using iscsi-initiator-utils-6.2.0.868-0.18.el5

vm1:
[root@vm1 ~]# fdisk -l
Disk /dev/xvda: 4194 MB, 4194304000 bytes
255 heads, 63 sectors/track, 509 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code].....

Any way to get iSCSI to mount the devices as consistent device names ?

View 5 Replies View Related

Ubuntu Networking :: Proxy Settings: Allowed Hosts Instead Of Ignored Hosts

Aug 17, 2011

Well, as many proxy applications, GNOME Network Proxy Preferences only allow to ignore hosts. What I want to do is exactly the opposite. I only want to use the proxy for few sites. Is it possible to define only the allowed hosts in any way?

PS: I know FoxyProxy add-on for Firefox does this, but 1)I don't use Firefox and 2)I want the proxy settings system wide not only for browser.

View 9 Replies View Related

General :: X: Warning; Priority Set To -1 Instead Of Requested Priority 0?

Dec 9, 2010

I have BT4 as an iso image and start it up by booting from cd, when i try the command root@bt~:startx it comes up with this fatal error. what can i do to get this work? and of course im new at this.

View 5 Replies View Related

Fedora Networking :: DNS Not Resolving ?

May 29, 2011

I have just installed Fedora 15 and while I can ping websites from the CLI I cannot access sites via my browser, I have installed it on my laptop and it is not presently connected to a network, just a single device connecting wirelessly via a home broadband line to the internet,

What entries should be made in my hosts.conf file, I have entered

Do I need to make entries in the nsswitch.conf file, At the moment it reads,

I have also checked the permissions on these 3 files and all users and groups have read permissions.

View 6 Replies View Related

Networking :: 5 Sec DNS Resolving Time ?

Dec 13, 2010

I have debian lenny amd64 with two network cards. I have had one and when problem started to occur I tried installing second, but problem still appear.

Quote:

Quote:

I have tried dnsmasq to solve problem but I failed, and that is reason why 127.0.0.1 is there.

With first dns:

Quote:

Same is first time with dnsmasq, but then it gets cached.

My local network works perfectly, and I am writing this with remote desktop from some other computer.

View 6 Replies View Related

Networking :: How To Set Priority Of OS During Boot

Jan 19, 2010

how can i set boot priority of the os through grub on ubuntu system on my laptop.

View 1 Replies View Related

Networking :: Dnsmasq Not Resolving How To Investigate

Feb 12, 2010

EDIT: The problem is more basic than dnsmasq. On testing to see if the nameservers are reachableCode:root@ps1:~# ping 218.248.255.146connect: Network is unreachablePost title pre-pended with [DO NOT REPLY] dnsmasq on a recent Slackware 13.0 install is not resolving. Usually dnsmasq "just works". I have tried all the problem analysis techniques I know and am stumped.

First the symptoms:
Code:
root@ps1:~# vi /etc/dnsmasq.conf

[code]...

View 1 Replies View Related

Networking :: ICMP Got Lower Priority?

Mar 16, 2010

I run a linux box as a gateway behind a satellite modem. The internet link over the satellite modem is only 1mbit so the usage often reaches 100% when someone is downloading/uploading something. I am seeing my ping return time jump from 700ms to 6000ms if someone tries to upload a file (by sending a attachment in a email etc). The satellite operator is saying this is normal, but I have my doubts.

Has ICMP got a lower priority? Should I really be seeing this behaviour? I understand that if it was a TCP packet then it would just be queued until the previous acknowledgement has been received. And if it was a UDP packet then it would have been dropped, but how does ICMP deal with these situations during heavy traffic?

View 2 Replies View Related

Fedora Networking :: Ip Address Not Resolving To Domain Name / Fix It?

Jul 14, 2010

My ip address is not resolving to the domain name.
I have checked etc/host reboot and all but it's not working.
I can't seem to find where to post my issue then I found you and you are on line

View 6 Replies View Related

Ubuntu Networking :: Resolving Host Problem

Apr 30, 2010

I have a strange problem with wireless internet connection. We have 3 computers, 2 of them with Win 7 and 1 with Ubuntu 9.10 + Win XP.

Now if all three computers are connected to the internet through wireless router, the computer with Ubuntu 9.10 frequently fails to resolves hosts using various web browsers. I have to disconnect and reconnect to the router to get internet back but it only works for a maximum of 1 minute before it fails again. If the 2 computers with Win 7 logs out from wireless connection then the Ubuntu 9.10 machine works just fine for long periods.

If i boot with Win XP internet works perfect even when the other computers are connected but i really want to use Ubuntu 9.10. The wireless chip is an Atheros 9285.

View 5 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

Networking :: Not Able To Ping External Network - Host Name Resolving To Ip

Jun 15, 2010

I had configured Squid in RHEL 5 and facing an issue with pinging. Not able to ping any website,hostname is resolving to ip address but not able to ping

[code]...

View 8 Replies View Related

Networking :: OpenVPN + Samba Wins (weird Ip Address Resolving)?

Mar 8, 2010

I have a CentOS 5.3 box running Samba and OpenVPN. I have the Samba server setup as a WINS server and OpenVPN pushes the WINS server to clients when they connect. Everything is working great except for one problem. When I connect to the VPN using a Windows machine at a remote location, I can ping all the host names of computers on the VPN network no problem at all. However, when I ping the host name of the OpenVPN server it resolves to 192.168.122.1. All my machines are on a 10.x subnet and I have no idea where this ip is coming from. I've checked the hosts file, lmhosts, etc. and can find no reference to this 192.168.122 subnet.

I think I recall seeing this 192.168.122.1 ip when I had installed the Virtualization group and it created a virtbr0 network bridge with that ip. I've since removed the Virtualization software and deleted that bridge.

View 9 Replies View Related

Networking :: Windows 7 Intermittent - Resolving Host Aliases Against BIND 9.6.2?

Jan 15, 2011

I have a Windows 7 professional x64 pc that intermittently fails to resolve host aliases. The nameserver is a Fedora 11 system running bind 9.6.2-p2. Its cannonical name is trixter.intranet.org, and it serves several web sites, each with a different host alias: hg.intranet.org, svn.intranet.org, bugzilla.intranet.org, etc.

Occasionally, the Windows pc will be unable to find any of the aliased hosts, even when it can find the canonical name. The aliases will be un-resolvable for a period of several minutes, and then, with no intervention, they can be found again. Trixter can always resolve the aliases to itself.

Even stranger, when I use Cygwin from the problematic Windows 7 PC, it CAN resolve the hosts. I can ping hg.intranet.org from a Cygwin shell, but not from a cmd.exe window. Administrator privileges make no difference.

View 1 Replies View Related

Ubuntu Networking :: Why Is Wireless Taking Priority From The Wired Connection

Apr 19, 2010

Why is wireless taking priority from the wired connection? I should not have to disable wireless just to have the wired connection connect.

View 1 Replies View Related

Security :: Use Current /etc/hosts File To Do An Ssh-keyscan Instead Of Making A Special List Of Hosts?

May 2, 2011

I'm trying to use ssh-keyscan to get some known_host file population going on, but I have a ton of hosts I want to scan, all with multiple aliases in /etc/hosts. Is there a way to use my current /etc/hosts file to do an ssh-keyscan instead of making a special list of hosts that (from what I've read) ssh-keyscan needs?

View 2 Replies View Related

Ubuntu Networking :: Change The Network Card Priority With Multiple Cards?

Sep 26, 2010

I've got two network card interfaces on my computer, one wireless and one wired. The wireless card is connected to the Internet and the wired is connected to the LAN. When only the wireless card is active, Internet works. As soon as i enable the second wired card, Internet stops working. And it seems like Ubuntu chooses the wired card for Internet as soon as it's enabled.

Are there any ways to solve this? So my Ubuntu box always chooses the wireless card for Internet traffic and let me use the wired device for LAN only?

View 1 Replies View Related

Fedora :: FC-11 Networking - Browser Takes About 20seconds Before Loads Page - Not Reading Or Resolving DNS Correctly

Aug 9, 2009

After installing FC11 on my Mac Mini intel terminals, I noticed the network config GUI is completely broke, So I continued with a hand configuration.

Everything seems ok eth0 is up , it has the correct IP, DNS and default gateway, but browser quieries take forever to load.

E.g. if I type Google in the browser it takes about 20seconds before it loads the page.

To add insult to injury, I have a 16Mbit/s Down 2.5Mbit/s uplink. the other 10 or so rackservers on the network responds fast, so it is nothing to do with the network or connection. They all run FC7-9.

The problem is squarely with FC11 and must be some bug not reading or resolving DNS correctly.
Anyone have an idea how I can figure this out with FC-11.

It seems to be the worst FC distro.

I generally was happy with all FC6-9, but 11 really sucks (the ppc version wont even install on my ppc terminals)

That the Mighty Mouse Wireless, worlks out of the box is very nice though, but that is all.

View 14 Replies View Related

Ubuntu :: No Hosts File - Just Hosts.allow And .deny?

Jan 26, 2011

Probably an easy (which means stoopid) question...I am trying to reroute a website using my hosts file so that it matches my servers certificate file for testing without effect dns and the live site.When I went to edit my /etc/hosts file it is non-existent. I have, I am assuming in it's place, hosts.allow and hosts.deny. Can anyone explain why I do not have a hosts file?

View 1 Replies View Related

Networking :: SSH - Forward Several Ports At Once?

May 10, 2011

I can successfully forward a port via:

PHP Code: ssh -L 5900:localhost:5900 test@192.168.5.1 

how do I forward several ports at once. This is a wrong example but:

[Code]...

View 2 Replies View Related

Ubuntu Servers :: Apache2: SNI & Virtual Hosts - Multiple Virtual Hosts With Ssl And Only 1 Ip Address

Jan 17, 2011

[Code]....

What I want: multiple virtual hosts with ssl and only 1 ip address: In my example: server = 192.168.227.129

[Code]....

View 9 Replies View Related







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