-1
votes
2answers
46 views

name resolution by name in /etc/hosts

I have to check website performance through various webproxies from my Fedora 19 box, and I want to do that by setting a local resolvable name "proxy" to the DNS resolved names for our proxies in my ...
3
votes
2answers
65 views

make dnsmasq ignore specific entries in /etc/hosts

I've set up a machine running dnsmasq, essentially serving its /etc/hosts file. However, there are specific entries which I want in that machine's /etc/hosts, but I don't want served. How can I make ...
0
votes
1answer
2k views

CentOS 5.8 why does my /etc/hosts file mess up after a reboot?

I'm running CentOS 5.8 (it's the Citrix XVA appliance provided on the website) but having an issue where every time I restart the server, the /etc/hosts file loses the IP address of the server...for ...
0
votes
1answer
3k views

Windows redirect by port? [duplicate]

Possible Duplicate: Forward Incoming Traffic with Windows hosts file? In Windows you can redirect traffic from a host by using the hosts file. C:\Windows\System32\drivers\etc\hosts ...
-3
votes
3answers
286 views

DNS resolves without adding the host IP and name to etc/ hosts file

Is there any way to resolve hostnames without added to hosts file? In order to access internal site in my company I have to add the host-name and IP in the .../etc/hosts file. Is there any way to add ...
2
votes
1answer
167 views

Editing hosts file - will removing default settings cause trouble?

I'm running a CentOS 5.4 machine and had trouble getting sendmail to work. After a bunch of researching, I found out that I needed to change my servers FQDN. /etc/hosts had the following: ...
0
votes
2answers
43 views

Show development and test site with same domain on browser

I have a situation where domain.com (is the live server - A record points to this server). We have another domain.com (which is the test server - users manually set hosts file). Users would like to ...
0
votes
1answer
126 views

hostname and hostname -f are backwards?

When I run the command hostname (on Ubuntu 10.04 LTS Server) it returns 'mail.mydomain.com' When I run hostname -f I get 'mail' as a response. These seem backwards to me, shouldn't hostname -f ...
0
votes
1answer
317 views

Forward Incoming Traffic with Windows hosts file?

A long time ago I found some guide that showed how to use the Windows Hosts file to forward incoming traffic to another local IP/Port. We setup a clients server on one IP/Port, and they wanted it ...
3
votes
3answers
2k views

How can I have a user specific hosts file

Is it possible to configure user specific hosts file instead of a common /etc/hosts. For example if user "user1" tries to get the name for the IP: "127.0.0.1", he gets "dev.user1" and if user "user2" ...
0
votes
2answers
530 views

Is a matching entry in /etc/hosts required for hostname?

I was installing a Tomcat webapp that refused to work until I stumbled on someone else's issue with an unrelated product. The solution was to add the machine's name to /etc/hosts, to match the name ...