You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "Boylan, James" <JA...@orbitz.com> on 2012/12/01 05:19:35 UTC

Strange issue with DNS and VMs.

I'm having an issue where VMs that were created once, given an IP, destroyed and then later if a new VM is created but with the same name, DNS is being assigned in the Virtual Router as a round robin between the IP address for the destroyed VM and the New VM. Why would this been happening?

Any thoughts?

-- James


RE: Strange issue with DNS and VMs.

Posted by "Boylan, James" <JA...@orbitz.com>.
Thanks Marc -

This manifested because of a mistake I made in creating and removing VMs using the API interface. I was able to resolve it by cleaning up the /etc/hosts file on the virtual router which hadn't been properly cleaned when the VM was removed because I had manually marked the VMs removed in the database due to the issues I had created.

-- James
________________________________________
From: Marc Cirauqui [mcirauqui@gmail.com]
Sent: Monday, December 03, 2012 1:06 AM
To: cloudstack-users
Subject: Re: Strange issue with DNS and VMs.

Maybe dnsmasq is not deleting old reference? If so, there would be two A
records and thus, DNS performs roundrobin...

>From the vm you can check with nslookup or host command...

thx


On Sat, Dec 1, 2012 at 5:19 AM, Boylan, James <JA...@orbitz.com>wrote:

> I'm having an issue where VMs that were created once, given an IP,
> destroyed and then later if a new VM is created but with the same name, DNS
> is being assigned in the Virtual Router as a round robin between the IP
> address for the destroyed VM and the New VM. Why would this been happening?
>
> Any thoughts?
>
> -- James
>
>

RE: Strange issue with DNS and VMs.

Posted by Anthony Xu <Xu...@citrix.com>.
That's a bug , dnsmasq doesn't delete old reference, please file a bug.


Anthony

> -----Original Message-----
> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> Sent: Sunday, December 02, 2012 11:06 PM
> To: cloudstack-users
> Subject: Re: Strange issue with DNS and VMs.
> 
> Maybe dnsmasq is not deleting old reference? If so, there would be two
> A
> records and thus, DNS performs roundrobin...
> 
> From the vm you can check with nslookup or host command...
> 
> thx
> 
> 
> On Sat, Dec 1, 2012 at 5:19 AM, Boylan, James
> <JA...@orbitz.com>wrote:
> 
> > I'm having an issue where VMs that were created once, given an IP,
> > destroyed and then later if a new VM is created but with the same
> name, DNS
> > is being assigned in the Virtual Router as a round robin between the
> IP
> > address for the destroyed VM and the New VM. Why would this been
> happening?
> >
> > Any thoughts?
> >
> > -- James
> >
> >

Re: Strange issue with DNS and VMs.

Posted by Marc Cirauqui <mc...@gmail.com>.
Maybe dnsmasq is not deleting old reference? If so, there would be two A
records and thus, DNS performs roundrobin...

>From the vm you can check with nslookup or host command...

thx


On Sat, Dec 1, 2012 at 5:19 AM, Boylan, James <JA...@orbitz.com>wrote:

> I'm having an issue where VMs that were created once, given an IP,
> destroyed and then later if a new VM is created but with the same name, DNS
> is being assigned in the Virtual Router as a round robin between the IP
> address for the destroyed VM and the New VM. Why would this been happening?
>
> Any thoughts?
>
> -- James
>
>