Public bug reported:
Binary package hint: network-manager
I can successfully connect to my company's PPTP VPN with network-manager
and network-manager-pptp. The DNS, however, does not function properly.
When I connect, network-manager correctly overwrites my /etc/resolv.conf
with the DNS server from my company's network, but for some reason it is
duplicated:
--------------------------/etc/resolv.conf----------------------------------
# generated by NetworkManager, do not edit!
nameserver 172.17.3.1
nameserver 172.17.3.1
--------------------------END /etc/resolv.conf----------------------------
If I use dig to locate resources on my company's domain, they resolve
correctly when fully-qualified, as expected:
--------------------------dig output----------------------------
[EMAIL PROTECTED]:~$ dig loubdc01.mydomain.local
; <<>> DiG 9.4.1-P1 <<>> loubdc01.mydomain.local
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53824
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;loubdc01.mydomain.local. IN A
;; ANSWER SECTION:
loubdc01.mydomain.local. 3600 IN A 172.16.3.248
;; Query time: 44 msec
;; SERVER: 172.17.3.1#53(172.17.3.1)
;; WHEN: Sat Dec 8 11:03:33 2007
;; MSG SIZE rcvd: 53
-------------------------END dig output---------------------------
However, if I attempt to access any company resources via the fully-
qualified name, nothing works (ping, RDP (remote desktop on 3389),
etc.):
[EMAIL PROTECTED]:~$ ping loubdc01.mydomain.local
ping: unknown host loubdc01.mydomain.local
If I use the IP address, it works:
[EMAIL PROTECTED]:~$ ping 172.16.3.248
PING 172.16.3.248 (172.16.3.248) 56(84) bytes of data.
64 bytes from 172.16.3.248: icmp_seq=1 ttl=125 time=43.8 ms
--- 172.16.3.248 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 43.863/43.863/43.863/0.000 ms
If I put an entry in my /etc/hosts file, it also works:
------------/etc/hosts fragment--------------
127.0.0.1 localhost
127.0.1.1 host
172.16.3.248 loubdc01
-----------END /etc/hosts fragment-------------
PING USING MANUAL HOST ENTRY:
[EMAIL PROTECTED]:~$ ping loubdc01
PING loubdc01 (172.16.3.248) 56(84) bytes of data.
64 bytes from loubdc01 (172.16.3.248): icmp_seq=1 ttl=125 time=44.8 ms
64 bytes from loubdc01 (172.16.3.248): icmp_seq=2 ttl=125 time=45.6 ms
So while DNS appears to be working, network-manager is not using it. I
have had to put in hosts entries for all the servers I access because
effectively I must either do that or use the IP addresses to access
resources when connected.
** Affects: network-manager (Ubuntu)
Importance: Undecided
Status: New
--
network-manager (pptp?) DNS doesn't work
https://bugs.launchpad.net/bugs/174909
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs