Re: DNS lookup not working inside the VPS [message #12167 is a reply to message #12139] |
Wed, 18 April 2007 18:11 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
bfullmer
Messages: 7 Registered: April 2007
|
Junior Member |
|
|
# vzctl create 101 --config vps.12
# vzctl set 101 --onboot yes --save
# vzctl set 101 --hostname vps1001.tele-bridge.net --save
# vzctl set 101 --ipadd 209.41.77.227 --save
# vzctl set 101 --nameserver 216.194.124.21 --save
# vzctl start 101
from the node:
[root@ut-ve0001 ~]# ping yahoo.com
PING yahoo.com (66.94.234.13) 56(84) bytes of data.
64 bytes from w2.rc.vip.scd.yahoo.com (66.94.234.13): icmp_seq=1 ttl=50 time=23.5 ms
64 bytes from w2.rc.vip.scd.yahoo.com (66.94.234.13): icmp_seq=2 ttl=50 time=23.6 ms
64 bytes from w2.rc.vip.scd.yahoo.com (66.94.234.13): icmp_seq=3 ttl=50 time=24.8 ms
now from VE 101:
# vzctl enter 101
entered into VE 101
# cat /etc/resolv.conf
nameserver 216.194.124.21
# ping yahoo.com
ping: unknown host yahoo.com
but can ping the IP for yahoo.com from the VE
# ping 66.94.234.13
PING 66.94.234.13 (66.94.234.13) 56(84) bytes of data.
64 bytes from 66.94.234.13: icmp_seq=1 ttl=49 time=24.8 ms
64 bytes from 66.94.234.13: icmp_seq=2 ttl=49 time=24.0 ms
64 bytes from 66.94.234.13: icmp_seq=3 ttl=49 time=23.7 ms
[Updated on: Thu, 19 April 2007 03:54] Report message to a moderator
|
|
|