Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th November 2012, 04:09 PM
hashbangbinbash Offline
Registered User
 
Join Date: Oct 2012
Location: London
Posts: 9
linuxchrome
DNS question for Virtual Machine Manager (vm to vm)

Hi forum,

I am trying to resolve IP->Name and Name->IP in terms of one virtual machine to another, however editing /etc/hosts doesn't work for me as this is ignored by the command 'host' and 'nslookup'. The system I'm setting up needs domain names dns-resolvable if you see what I mean).

I need the DNS service to know the IP/Name and Name/IP, in Virtual Machine Manager a service called dnsmasq can perform the dns role I understand (say when I unplug the Virtual Machine Host from the Network and try to have the vm's connect to eachother without using the 'real' nameserver out on the network.

Can anyone say if there's a way for me to tell netmasq so that vm1.apples.com (for example) maps to 192.168.1.10 and vice-versa, so that the command "host vm1.apples.com" will now correctly query netmasq and return the IP "192.168.1.10 in this case). Right now I get "Host vm1.apples.com not found: 3 (NXDOMAIN)" because /etc/hosts is ignored for 'host' and 'nslookup' commands).

Hope that makes sense, many thanks for any assistance.

Last edited by hashbangbinbash; 5th November 2012 at 04:16 PM.
Reply With Quote
  #2  
Old 5th November 2012, 05:44 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,110
linuxfirefox
Re: DNS question for Virtual Machine Manager (vm to vm)

1. "host" has nothing to do with the hosts file as it, like "nslookup" are designed to use DNS for both testing and information retrieval.

To support DNS requires a name server. Either bind, or one of the lightweight servers such as dnsmasq (as part of DHCP support).

For local systems there is no need for a DNS server other than some possible convenience. If you have more than about 10 clients then yes, a name server (and DHCP) would be useful, but less than that, it becomes just as big a pain as supporting host files.

You get "not found" messages because you are not running a name server.
Reply With Quote
Reply

Tags
dns, machine, manager, question, virtual

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I can't create new virtual machine using Virtual Machine Manager baijingjiao Using Fedora 6 7th January 2012 02:10 AM
Virtual Machine Manager: Cannot create virtual machine chris_flow Using Fedora 0 30th November 2009 03:57 PM
Virtual Machine Manager error when add a new virtual machine bizar Using Fedora 3 1st November 2009 10:37 PM
Virtual disk images (virtual box - virtual machine manager) beaker_ Using Fedora 0 2nd July 2009 01:19 PM
problem creating a new virtual system with Virtual Machine Manager in Fedora 7 reboot Using Fedora 3 3rd June 2007 01:51 AM


Current GMT-time: 20:44 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat