OpenVZ Forum


Home » General » Support » failure in name resolution
failure in name resolution [message #26156] Wed, 16 January 2008 12:35 Go to next message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

Hi All,
my last problem solved but i again have that problem! please help me , i dont know how should i do :
last problem : http://forum.openvz.org/index.php?t=msg&th=4890&#msg _24758

my problem :
[root@i1244 ~]# vzctl create 214 --ostemplate centos-4-minimal
Creating VE private area (centos-4-i386-minimal)
Performing postcreate actions
VE private area was created
[root@i1244 ~]# vzctl set 214 --onboot yes --save
Saved parameters for VE 214
[root@i1244 ~]# vzctl set 214 --hostname server2.hostbazar.net --save
Saved parameters for VE 214
[root@i1244 ~]# vzctl set 214 --ipadd 76.164.196.75 --save
Saved parameters for VE 214
[root@i1244 ~]# vzctl set 214 --ipadd 76.164.196.76 --save
Saved parameters for VE 214
[root@i1244 ~]# vzctl set 214 --nameserver 4.2.2.20 --save
Saved parameters for VE 214
[root@i1244 ~]# vzctl set 214 --nameserver 4.2.2.21 --save
Saved parameters for VE 214
[root@i1244 ~]# vzctl start 214
Starting VE ...
VE is mounted
Adding IP address(es): 76.164.196.75 76.164.196.76
Setting CPU units: 1000
Configure meminfo: 65536
Set hostname: server2.hostbazar.net
File resolv.conf was modified
VE start in progress...
[root@i1244 ~]# vzctl exec 214 service sshd start
Starting sshd:[ OK ]
[root@i1244 ~]# vzctl set 214 --userpasswd root:test
Changing password for user root.
passwd: all authentication tokens updated successfully.
[root@i1244 ~]# vzctl enter 214
entered into VE 214
[root@server2 /]# ping google.com
ping: unknown host google.com
[root@server2 /]#


please help me ,
Re: failure in name resolution [message #26212 is a reply to message #26156] Thu, 17 January 2008 11:27 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Please try
 vzctl set 214 --nameserver 4.2.2.2 --save
Re: failure in name resolution [message #26312 is a reply to message #26156] Mon, 21 January 2008 11:33 Go to previous messageGo to next message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

hi,
excuse me but i used that for another vps

[Updated on: Mon, 21 January 2008 11:34]

Report message to a moderator

Re: failure in name resolution [message #26313 is a reply to message #26312] Mon, 21 January 2008 12:15 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

You can use it for all VPS.
Previous Topic: Differences between venet and veth
Next Topic: Problem with NFS client from a VE
Goto Forum:
  


Current Time: Sun Nov 17 12:52:02 GMT 2024

Total time taken to generate the page: 0.02896 seconds