3
votes
3answers
65 views

How can unix computers find each other by hostname?

I have a home-network with several windows and Linux machines which have samba installed. on windows I can find each other computer fine via its hostname. however on a linux computer I cant find any ...
2
votes
1answer
54 views

Specifying DNS settings to override those of DHCP

Every 6 months or so I cannot access the DNS on whatever router I'm using. usually have to add the nameserver by hand to the /etc/resolv.conf file. I've tried adding Google free DNS to the file and it ...
1
vote
1answer
62 views

DDNS (dynamic-dns) setup and adding a hostname to a device (to be visible on the network)

How do I provide a fixed Hostname to my device so that a netscan can shows up the device name across all platforms? How can I reach the device using the hostname/MAC-ID (something which is fixed) ...
0
votes
0answers
27 views

How can I make CentOS 6 treating WiFi flexibly like Ubuntu 12.04?

In my office, I have AT&T Uverse. The router is a 2wire 3600HGV. The WiFI is provided by a Cisco Linksys E1000 that is plugged in the 2wire device. With my notebook running Ubuntu 12.04 LTS ...
1
vote
2answers
45 views

How to I fetch the very latest DNS records from a recently updated domain?

I recently updated my domain and added CNAME and TXT records, and don't want to wait for the changes to propogate. How can I go directly to the source and query the DNS records to verify everything is ...
-1
votes
1answer
51 views

Why DNS server changes when enabling another interface on machine

My system has 6 interfaces, a loopback, a Xen Bridge, and then 4 ethernet interfaces eth0-3. In this system, my DNS server assigned by DHCP on xenbr0 is 192.168.1.1. Initially eth1 is disabled and ...
3
votes
1answer
103 views

Blocking Websites with /etc/hosts

There's a website, www.example.com, that I tried to block myself from accessing because it wastes too much of my time. So I configured my /etc/hosts file. I added the following lines, to block the ...
0
votes
2answers
128 views

ping not working for google alone

one of my friend changed some network config in my laptop at home, He said he tried something related to block a website(he tested it with www.google.com).Now www.google.com not loading . Even he dont ...
0
votes
0answers
214 views

Ping IP works, nslookup fails. New Kernel

I am compiling my own 3.14 kernel. I fear I may have left out some important networking feature to get DNS working. I can't resolve domain names. I can ping my DNS server. I can resolve using that ...
0
votes
1answer
248 views

Change the DNS server in etisalat USB modem

I need to use the open DNS : 208.67.222.222,208.67.220.220 in my network connection. I use etisalat 3.75 USB modem HUAWEI in my Ubuntu 12.04 PC. I had tried to add this DNS in : ...
2
votes
2answers
1k views

Configure multiple interfaces with different hostnames using DHCP and DNS

I have a machine running Ubuntu 12.04 Server with two interfaces connected (eth0, eth1) to the network. Our network is set up so that a FreeBSD based DHCP server hands out leases and registers the ...
3
votes
3answers
350 views

Can I set my Debian box to use OpenDNS nameservers if it uses DHCP?

I have a Debian box with this in /etc/network/interfaces: auto eth0 allow-hotplug eth0 iface eth0 inet dhcp auto wlan0 iface wlan0 inet dhcp wpa-ssid NetworkName wpa-psk NetworkPass and ...
4
votes
2answers
639 views

BIND9 as a DNS server refuses requests

I am trying to set up a DNS server on Amazon Linux using BIND9. It has to act as a master nameserver for a lot of domains. I have imported all of the DNS zone files using NamedManager (a web ...
3
votes
3answers
794 views

/usr/bin/host not picking up changes to /etc/hosts even after reboot

I have a Ubuntu Server 12.04 (amd64) machine on which, when I change /etc/hosts, the changes aren't picked up, even after a reboot. I am using /usr/bin/host to test, but none of the other programs ...
0
votes
3answers
104 views

Why do two Ubuntu systems in the same network behave differently in DNS resolution?

I have two systems, both running Ubuntu 12.04, which are within the same network (connected by hubs without routing logic). Both systems are configured quite similar, but not identical. In particular, ...
3
votes
2answers
384 views

Converting Webserver Logged IP Addresses to DNS

I'm trying to use a bash script to process a webserver log file and replace any IP's it finds with their corresponding DNS hostnames. An example entry of a single line from the log file is: ...
5
votes
1answer
148 views

getaddrinfo() from shell? [duplicate]

When you call ping name.domain, it goes through both /etc/hosts and the DNS resolver to obtain an IP. It could be an IP hard-coded in /etc/hosts, or it could be one from the DNS server. It does so by ...
1
vote
2answers
649 views

Split DNS (bind9), match-clients any doesn't work?

I've been fighting with this for the last few days. A few of my entries have external and internal IP's. My internal network is 10.0.0.0/8. When I nslookup pc1.clase.net internally it responds with ...
3
votes
1answer
317 views

Bind9 — How to find which programs are making which dns lookups?

Using bind9 on a laptop shows lots of nonsense domains when network connectivity is down: Oct 18 19:56:18 lap3 named[1536]: error (network unreachable) resolving './NS/IN': 128.63.2.53#53 Oct 18 ...
4
votes
1answer
362 views

Why is my computer trying to send ICMP type 3 to OpenDNS?

In my firewall logs I see lots of entries like this. IN= OUT=eth0 SRC=192.168.1.105 DST=208.67.220.220 LEN=148 TOS=0x00 PREC=0xC0 TTL=64 ID=55705 PROTO=ICMP TYPE=3 CODE=3 [SRC=208.67.220.220 ...
3
votes
1answer
220 views

Apache Request Hangs For 2 Minutes Exactly

I am experiencing some odd behavior with apache. I have requests that are hanging for exactly two minutes. The request could be one file one time, and then a completely different file another time. ...
6
votes
1answer
1k views

resolve the server hostname of a dnsmasq server with multiple subnets

I have a self-made Linux router running dnsmasq. It has two different NICs through which clients are connected; one of them has the subnet 192.168.1. and one the subnet 192.168.2.. My ...
2
votes
1answer
361 views

Process calling getaddrinfo() at boot gets permanently stuck with bad /etc/resolv.conf?

I'm running pianod, a Pandora client/server, on a Raspberry Pi with Arch Linux ARM. I have pianod set up to run as a service at boot. It starts up before the network stack, so getaddrinfo() fails. ...
0
votes
2answers
385 views

Unix: How to Test Ip Address is resolved to name

Unix: How to Test ip Address is resolved to name. I need to check whether ip address can be resolved to name using DNS entry via shell script. Code: DNS_Lookup() { LOOKUP=$(nslookup $1) ...
3
votes
2answers
215 views

How to host a website on personal computer

I want to start hosting my website at my own computer as well websites of my friends too (say mini hosting platform). I learned Debian, Bind9 and Apache for this purpose. On my system everything is ...
0
votes
2answers
143 views

How to attach my domain with bind in real www

How to attach my domain with bind in real wwwI install bind9, with apache. By God's very grace every thing went smooth. my dig, host, nslookup and ping provide this info: my system ip address: ...
2
votes
1answer
75 views

How to property configure DNS . . . from a conceptual perspective

I'm not looking for actual tools or techical how to type answers here. I'm in a complex networking environment, and I'm trying to understand the constraints on my choice of a hostname / domain / DNS ...
2
votes
1answer
98 views

How can I be sure that access to my home server from my home network is not done via Internet?

As advised in this question: Network file-sharing between Linux and Android, I have decided to use ownCloud to store files on my home cloud server. However, my needs have changed a bit. I want to be ...
2
votes
2answers
637 views

I want to expose “easy” URL's for machines on a home network. Is custom DNS/BIND the answer?

I recently convinced my room mates to cut the cord and go cable free, and they've found it pretty great so far. I'm in the process of setting up a pretty sweet, mostly automated home theater setup ...
2
votes
1answer
797 views

Could not resolve host error

I'm using Arch Linux and I have a dynamic ip address with the use of dhcpcd. I can access websites through the google chrome but the problem is that I get 'could not resolve host' error when I run ...
3
votes
1answer
15k views

Ubuntu: How to configure DNS servers in /etc/network/interfaces correctly for resolvconf?

All examples I have seen of configurations (/etc/network/interfaces) showed that you configure an interface and then underneath that gave the dns-* lines such as: auto eth0 iface eth0 inet static ...
1
vote
1answer
490 views

No DNS on Debian wifi after unplugging the DNS cable

I have installed wheezy Release Candidate 1 to my old laptop (Benq Joybook A52) right now, and I have some problem with my wireless card (Atheros 5006). It can actually see the wireless networks, I ...
3
votes
1answer
318 views

Incoming/Outgoing seperation for VPN

My situation is that I want all my outgoing connections from my Debian server to pass through a commercial VPN service I've subscribed to, but I still want to run public-accessible services on this ...
1
vote
1answer
496 views

Command/scripts to check the Reverse DNS Lookup time

I am working on a project in which one master communicates with numbers of slaves. For that it has to make connection with hosts in network. But sometimes it hangs. I think that the reason behind is ...
2
votes
1answer
1k views

Static IP address shifting to 192.168.1.251

I have a system with a static IP address of 192.168.1.150. I configured /etc/network/interfaces manually (i.e. without using NetworkManager.) It is a web server hosting three sites. I am having ...
0
votes
2answers
634 views

Best way to find out what Linux Version is used on a Webserver

Is this feasible? Can I find out which distro is used to host specific webpages? Whois doesn't have info for this.
2
votes
2answers
1k views

DNS Master vs Slave and Primary vs Secondary

I'm a little confused about the difference between a "secondary name server" and a "slave name server" and a "primary name server" and a "master name server"   I understand that a slave name server ...
1
vote
1answer
363 views

How can I resolve local IPs to hostnames? [duplicate]

Possible Duplicate: How to make a machine accessible from the LAN using its hostname I have is a simple home network with a few machines connecting through DHCP. If everyone and their ...
6
votes
1answer
322 views

Why the difference between network addresses reported by hostname and ping?

I have tried hostname and ping in a cluster machine, with different outputs. I am wondering what is the difference between the two? For example, on the same machine, hostname outputs node4.XXX and ...
3
votes
1answer
384 views

Simplest way to set up multiple subdomains to separate VMs running on single host

Problem: I´m planning to set up several virtualized centos, rhel or ubuntu guest machines on a single centos host server (most likely using KVM). Each guest VM is running an instance of a webapp + ...
3
votes
1answer
449 views

Verbose DNS query to see DNS query order?

I typically determine the IP of a host by doing: $ host -t A example.com. Is there a more verbose version of this that tells me whats happening in the background, specifically the order of what is ...
1
vote
1answer
485 views

Using google DNS in netcfg

how can I set up my netcfg profiles to use the google DNS servers? I've tried IP = 'dhcp' DNS = '8.8.8.8' but that didn't cut it.
1
vote
1answer
3k views

DNS Issues on RHEL 6

I'm experiencing some DNS issues on a new RHEL 6 virtual machine. Ping is working fine to an IP, but the machine is unable to resolve any names. I've tried adding Google's DNS servers (8.8.8.8 and ...
7
votes
3answers
11k views

Reverse DNS lookups slowing down network operations on LAN

Environment My LAN setup is quite basic: A router connected to the ISP's modem and the internet My development pc directly connected to the router The router provides DHCP but does not run its ...
2
votes
2answers
1k views

Domain resolve problem with stock Debian

I have a simple install with Debian as a guest in Virtualbox. I installed the resolvconf package. The resolv.conf file is this: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
1
vote
2answers
1k views

How can I Forward a subDomain to a specific port?

My apologies if this has been asked before. I haven't found an adequate solution so... yeah. When a specific domain, "example.com" is accessed, I want it to act normally. In other words, it should go ...
4
votes
6answers
709 views

Find my computer on a LAN network

Let's say that I have a computer plugged in to a local network using a dhcp connection, so it will get a different IP every time. Is there a way to find this computer (so the IP) from a different ...
16
votes
4answers
21k views

What DNS servers am I using?

How can I check which DNS server am I using (in Linux)? I am using network manager and a wired connection to my university's LAN. (I am trying to find out why my domain doesn't get resolved)
4
votes
2answers
2k views

What file to I have to edit to make static dns server in CentOS

Almost every distro I know will wipe /etc/resolv.conf on reboot (I think dhcp does this) and thus the place to add static dhcp entries varies per distro. How to I add static dns servers to a CentOS ...
2
votes
1answer
2k views

Can't reach DNS through wireless router

I've got a Ubuntu 10.04 laptop, and recently it's had some odd networking problems. It's on the home wireless router, supplied by the phone company, and has no problem talking to anything on the ...