LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-03-2013, 09:39 AM   #1
hashbangbinbash
Member
 
Registered: Mar 2008
Posts: 108

Rep: Reputation: 16
Virtual Machine Manager: cannot resolve guest domain name


Hello,

I've setup a CentOS guest on my Fedora host, I can connect to it via ssh if I give the IP address, but if I give the domain name it doesn't connect.

Quote:
ssh hash@guest1
ssh: Could not resolve hostname guest1: Name or service not known
Can anyone tell me what I didn't do in setting up this guest such that it's name does not resolve from the host, or tell me where I can find the A Record and PTR Record to ensure domain name pingability?

Any assistance appreciated.

Last edited by hashbangbinbash; 06-03-2013 at 09:47 AM.
 
Old 06-03-2013, 10:11 AM   #2
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Rep: Reputation: 153Reputation: 153
add ip and hostname in /etc/hosts
Code:
xxx.xxx.xxx.xxx guest1
 
1 members found this post helpful.
Old 06-03-2013, 12:52 PM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
http://www.linuxhomenetworking.com/w...onfiguring_DNS
 
Old 06-04-2013, 04:56 AM   #4
hashbangbinbash
Member
 
Registered: Mar 2008
Posts: 108

Original Poster
Rep: Reputation: 16
thanks, that was no help at all. I know what a dns server is, I want to know what if any differences there are with Virtual Machine Manager and how it resolves the names of its own guests. But here's an idea, in future you can ignore the contents of a question even more and just pointlessly respond to threads with the word "Google" or something clever like that.
 
Old 06-04-2013, 08:00 AM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I'm sorry I was a little rude but my point was that a virtual machine isn't special and so any DNS settings need to be created in the same way as a real machine. You also provide no information as to how you have set up DNS for the VM so how is anybody suppose to tell you what is wrong with the configuration?
 
1 members found this post helpful.
Old 06-05-2013, 09:32 AM   #6
hashbangbinbash
Member
 
Registered: Mar 2008
Posts: 108

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by 273 View Post
I'm sorry I was a little rude but my point was that a virtual machine isn't special and so any DNS settings need to be created in the same way as a real machine. You also provide no information as to how you have set up DNS for the VM so how is anybody suppose to tell you what is wrong with the configuration?
Aye, fair point.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount host partition on to the guest virtual machine. physnastr Linux - Virtualization and Cloud 1 10-20-2011 06:59 PM
Virtual machine freezes host and guest davholla Linux - Virtualization and Cloud 3 11-20-2010 03:49 PM
How to I swap CDs when installing a guest OS using the Virtual Machine Manager? jc_cpu Linux - Distributions 4 10-25-2008 11:21 PM
Internet Access from Guest virtual machine on Fedora 8 pigwig Linux - Newbie 5 03-06-2008 11:22 PM
what would make ever virtual domain name resolve to one domain name on my system kuplo Linux - Newbie 1 11-14-2005 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration