On Sat, Nov 24, 2012 at 09:13:49AM +0000, mick wrote:
On Wed, 21 Nov 2012 16:51:29 +0000 Chris Green cl@isbd.net allegedly wrote:
So, I have configured my desktop to have a static IP on the LAN with /etc/network/interfaces containing:-
auto lo iface lo inet loopback iface eth0 inet static address 192.168.1.4 netmask 255.255.255.0 gateway 192.168.1.1 dns-domain zbmc.eu dns-search zbmc.eu dns-nameservers 127.0.0.1 195.74.113.58 194.72.0.114 auto eth0
That 127.0.0.1 in the dns-nameservers is (I believe) correct, it makes dnsmasq act as a local caching nameserver.
If your desktop is running a version of ubuntu, I think you will find that port 53 is open on address 127.0.1.1, not the more usual local loopback.
Er, um, and? I'm sorry I don't really understand what that's telling me.
Both 127.0.0.1 and 127.0.1.1 seem to have someone listening:-
root@chris:~# nmap localhost
Starting Nmap 5.21 ( http://nmap.org ) at 2012-11-24 10:31 GMT Nmap scan report for localhost (127.0.0.1) Host is up (0.0000090s latency). Not shown: 987 closed ports PORT STATE SERVICE 21/tcp open ftp 22/tcp open ssh 25/tcp open smtp 53/tcp open domain 80/tcp open http 111/tcp open rpcbind 119/tcp open nntp 631/tcp open ipp 2049/tcp open nfs 3306/tcp open mysql 5432/tcp open postgresql 9000/tcp open cslistener 9090/tcp open zeus-admin
Nmap done: 1 IP address (1 host up) scanned in 0.11 seconds root@chris:~# nmap 127.0.1.1
Starting Nmap 5.21 ( http://nmap.org ) at 2012-11-24 10:31 GMT Nmap scan report for 127.0.1.1 Host is up (0.0000040s latency). Not shown: 989 closed ports PORT STATE SERVICE 21/tcp open ftp 22/tcp open ssh 25/tcp open smtp 53/tcp open domain 80/tcp open http 111/tcp open rpcbind 119/tcp open nntp 631/tcp open ipp 2049/tcp open nfs 9000/tcp open cslistener 9090/tcp open zeus-admin
Nmap done: 1 IP address (1 host up) scanned in 0.12 seconds