[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: [UPDATE] Working network connectivity, not working DNS resolutions



 Thu, 25 Mar 2010 19:00:51 -0400 <tomh0665@gmail.com> wrote:
> >> Why not add a dns-nameservers to "iface br200"?
>
> > Updated my /etc/network/interfaces with:
> > # INTERNAL LAN VLAN/BRIDGE
> > iface eth1.200 inet manual
> > auto br200
> > iface br200 inet static
> >  dns-nameservers 10.254.2.254
> >  address 10.254.2.1
> >  netmask 255.255.255.0
> >  network 10.254.2.0
> >  broadcast 10.254.2.255
> >  gateway 10.254.2.254
> >  bridge-ports eth1.200
>
> > But I still experience the same output including an unmodified
> > /etc/resolv.conf
>
> The "dns-nameservers..." variable will only be recognized if you are
> running resolvconf; it is not a default /e/n/i option.
>
>

Yup you are right. I installed the resolvconf package from a deb file with dpkg.

root@localhost:~# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 10.254.2.254


> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/[🔎] 6d4219cc1003251600v1ed8471do812d85594e416723@mail.gmail.com
>

My router (at 10.254.2.254) is running pfsense (a freebsd router distro) I found that I was able to run the dig and netstat commands from an SSH session.

My findings.

# dig @10.254.2.254 google.com

; <<>> DiG 9.4.3-P2 <<>> @10.254.2.254 google.com
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27942
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;google.com.                    IN      A

;; ANSWER SECTION:
google.com.             55      IN      A       66.249.91.104

;; Query time: 4 msec
;; SERVER: 10.254.2.254#53(10.254.2.254)
;; WHEN: Fri Mar 26 01:02:53 2010
;; MSG SIZE  rcvd: 44


# netstat -na
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp4       0     52 10.254.2.254.22        10.254.2.188.57059     ESTABLISHED
tcp6       0      0 *.53                   *.*                    LISTEN
tcp4       0      0 *.53                   *.*                    LISTEN
tcp4       0      0 *.2189                 *.*                    LISTEN
tcp4       0      0 *.80                   *.*                    LISTEN
tcp4       0      0 127.0.0.1.8021         *.*                    LISTEN
tcp4       0      0 *.22                   *.*                    LISTEN
tcp6       0      0 *.22                   *.*                    LISTEN
udp4       0      0 *.67                   *.*
udp6       0      0 *.53                   *.*
udp4       0      0 *.53                   *.*
udp4       0      0 192.168.2.2.12176      209.139.209.82.123
udp4       0      0 192.168.2.2.21273      72.55.146.217.123
udp4       0      0 192.168.2.2.60591      142.201.7.148.123
udp4       0      0 10.254.2.254.123       *.*
udp4       0      0 10.254.2.254.35906     *.*
udp4       0      0 *.1900                 *.*
icm4       0      0 *.*                    *.*
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
c59083f0 stream      0      0        0        0        0        0 /tmp/php-fastcgi.socket-3
c5908690 stream      0      0        0 c5908738        0        0
c5908738 stream      0      0        0 c5908690        0        0
c5908c78 stream      0      0 c5a84bdc        0        0        0 /tmp/php-fastcgi.socket-3
c5908b28 stream      0      0 c5b0b33c        0        0        0 /tmp/php-fastcgi.socket-2
c59089d8 stream      0      0 c5b0bbdc        0        0        0 /tmp/php-fastcgi.socket-1
c5908930 stream      0      0 c5b0b000        0        0        0 /tmp/php-fastcgi.socket-0
c5909000 stream      0      0 c5904ac8        0        0        0 /var/run/devd.pipe
c5908dc8 dgram       0      0        0 c5908150        0 c59091f8
c59080a8 dgram       0      0        0 c5909d20        0        0
c59091f8 dgram       0      0        0 c5908150        0 c59087e0
c59087e0 dgram       0      0        0 c5908150        0 c5909930
c5909930 dgram       0      0        0 c5908150        0 c5909888
c5909888 dgram       0      0        0 c5908150        0 c59099d8
c59099d8 dgram       0      0        0 c5908150        0 c5909c78
c5909c78 dgram       0      0        0 c5908150        0        0
c5908150 dgram       0      0 c5a84114        0 c5908dc8        0 /var/run/logpriv
c5909d20 dgram       0      0 c5a87678        0 c59080a8        0 /var/run/log


So DNS does work on this box, as it forward DNS replies to other boxes on my local network.

What should I do next? Any ideas?

Thanks.


-M


Take your contacts everywhere. Try Messenger for mobile

Reply to: