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/02 01:09:31 UTC
Dynamic DNS references in Cloudstack
What tables in the MySQL DB does the DNS server in the Virtual Router get the information for what IP relates to what FQDN?
-- James
RE: Dynamic DNS references in Cloudstack
Posted by "Boylan, James" <JA...@orbitz.com>.
Thanks for pointing me in the right direction. It turns out that the virtual routers use /etc/hosts in side them for actually generating the resolvable hostname for the network they are a router for. I had a situation were some old entries were not removed like they should have been. Removing them there and restarting the router showed that it was clean.
-- James
________________________________________
From: giljae o [ogiljae@gmail.com]
Sent: Saturday, December 01, 2012 8:48 PM
To: cloudstack-users@incubator.apache.org
Subject: RE: Dynamic DNS references in Cloudstack
Take a look at dhcphost.txt under /etc inside Virtual Routet.
CS does not clean all information up on the destoryed vm regarding
dhcphost.txt.
On Dec 2, 2012 11:38 AM, "Boylan, James" <JA...@orbitz.com> wrote:
> That is the reference for the details of the zone. But doesn't detail what
> instance name + domain name relates to what IP. Specifically the tables
> that are used by the DNS system on the virtual router to generate a list of
> what VMs resolve to what IPs.
>
> I have a situation where a VM was destroyed and expunged then later
> another VM with the same name was created and now DNS is round robin load
> balancing between the two IPs. I need to figure out where the DNS server
> inside of the virtual router pulls it's data so that I can correct the
> issue.
>
> -- James
> ________________________________________
> From: giljae o [ogiljae@gmail.com]
> Sent: Saturday, December 01, 2012 8:11 PM
> To: cloudstack-users@incubator.apache.org
> Subject: Re: Dynamic DNS references in Cloudstack
>
> mysql> select * from data_center\G
> *************************** 1. row ***************************
> id: 1
> name: xxxxxxx
> description: NULL
> dns1: 8.8.8.8
> dns2: 8.8.4.4
> internal_dns1: 10.13.0.10
> internal_dns2: 10.13.0.11
> gateway: NULL
> netmask: NULL
> router_mac_address: 02:00:00:00:00:01
> mac_address: 1441
> guest_network_cidr: 172.27.0.0/16
> domain: NULL
> domain_id: NULL
> networktype: Advanced
> dns_provider: VirtualRouter
> gateway_provider: VirtualRouter
> firewall_provider: VirtualRouter
> dhcp_provider: VirtualRouter
> lb_provider: VirtualRouter
> vpn_provider: VirtualRouter
> userdata_provider: VirtualRouter
> is_security_group_enabled: 0
> allocation_state: Enabled
> zone_token: NULL
> removed: NULL
> uuid: ab66658d-ba84-40e4-8df4-81e3c4aac7e5
>
>
> On Sun, Dec 2, 2012 at 9:09 AM, Boylan, James <JAMES.BOYLAN@orbitz.com
> >wrote:
>
> > What tables in the MySQL DB does the DNS server in the Virtual Router get
> > the information for what IP relates to what FQDN?
> >
> >
> >
> > -- James
> >
RE: Dynamic DNS references in Cloudstack
Posted by giljae o <og...@gmail.com>.
Take a look at dhcphost.txt under /etc inside Virtual Routet.
CS does not clean all information up on the destoryed vm regarding
dhcphost.txt.
On Dec 2, 2012 11:38 AM, "Boylan, James" <JA...@orbitz.com> wrote:
> That is the reference for the details of the zone. But doesn't detail what
> instance name + domain name relates to what IP. Specifically the tables
> that are used by the DNS system on the virtual router to generate a list of
> what VMs resolve to what IPs.
>
> I have a situation where a VM was destroyed and expunged then later
> another VM with the same name was created and now DNS is round robin load
> balancing between the two IPs. I need to figure out where the DNS server
> inside of the virtual router pulls it's data so that I can correct the
> issue.
>
> -- James
> ________________________________________
> From: giljae o [ogiljae@gmail.com]
> Sent: Saturday, December 01, 2012 8:11 PM
> To: cloudstack-users@incubator.apache.org
> Subject: Re: Dynamic DNS references in Cloudstack
>
> mysql> select * from data_center\G
> *************************** 1. row ***************************
> id: 1
> name: xxxxxxx
> description: NULL
> dns1: 8.8.8.8
> dns2: 8.8.4.4
> internal_dns1: 10.13.0.10
> internal_dns2: 10.13.0.11
> gateway: NULL
> netmask: NULL
> router_mac_address: 02:00:00:00:00:01
> mac_address: 1441
> guest_network_cidr: 172.27.0.0/16
> domain: NULL
> domain_id: NULL
> networktype: Advanced
> dns_provider: VirtualRouter
> gateway_provider: VirtualRouter
> firewall_provider: VirtualRouter
> dhcp_provider: VirtualRouter
> lb_provider: VirtualRouter
> vpn_provider: VirtualRouter
> userdata_provider: VirtualRouter
> is_security_group_enabled: 0
> allocation_state: Enabled
> zone_token: NULL
> removed: NULL
> uuid: ab66658d-ba84-40e4-8df4-81e3c4aac7e5
>
>
> On Sun, Dec 2, 2012 at 9:09 AM, Boylan, James <JAMES.BOYLAN@orbitz.com
> >wrote:
>
> > What tables in the MySQL DB does the DNS server in the Virtual Router get
> > the information for what IP relates to what FQDN?
> >
> >
> >
> > -- James
> >
RE: Dynamic DNS references in Cloudstack
Posted by "Boylan, James" <JA...@orbitz.com>.
That is the reference for the details of the zone. But doesn't detail what instance name + domain name relates to what IP. Specifically the tables that are used by the DNS system on the virtual router to generate a list of what VMs resolve to what IPs.
I have a situation where a VM was destroyed and expunged then later another VM with the same name was created and now DNS is round robin load balancing between the two IPs. I need to figure out where the DNS server inside of the virtual router pulls it's data so that I can correct the issue.
-- James
________________________________________
From: giljae o [ogiljae@gmail.com]
Sent: Saturday, December 01, 2012 8:11 PM
To: cloudstack-users@incubator.apache.org
Subject: Re: Dynamic DNS references in Cloudstack
mysql> select * from data_center\G
*************************** 1. row ***************************
id: 1
name: xxxxxxx
description: NULL
dns1: 8.8.8.8
dns2: 8.8.4.4
internal_dns1: 10.13.0.10
internal_dns2: 10.13.0.11
gateway: NULL
netmask: NULL
router_mac_address: 02:00:00:00:00:01
mac_address: 1441
guest_network_cidr: 172.27.0.0/16
domain: NULL
domain_id: NULL
networktype: Advanced
dns_provider: VirtualRouter
gateway_provider: VirtualRouter
firewall_provider: VirtualRouter
dhcp_provider: VirtualRouter
lb_provider: VirtualRouter
vpn_provider: VirtualRouter
userdata_provider: VirtualRouter
is_security_group_enabled: 0
allocation_state: Enabled
zone_token: NULL
removed: NULL
uuid: ab66658d-ba84-40e4-8df4-81e3c4aac7e5
On Sun, Dec 2, 2012 at 9:09 AM, Boylan, James <JA...@orbitz.com>wrote:
> What tables in the MySQL DB does the DNS server in the Virtual Router get
> the information for what IP relates to what FQDN?
>
>
>
> -- James
>
Re: Dynamic DNS references in Cloudstack
Posted by giljae o <og...@gmail.com>.
mysql> select * from data_center\G
*************************** 1. row ***************************
id: 1
name: xxxxxxx
description: NULL
dns1: 8.8.8.8
dns2: 8.8.4.4
internal_dns1: 10.13.0.10
internal_dns2: 10.13.0.11
gateway: NULL
netmask: NULL
router_mac_address: 02:00:00:00:00:01
mac_address: 1441
guest_network_cidr: 172.27.0.0/16
domain: NULL
domain_id: NULL
networktype: Advanced
dns_provider: VirtualRouter
gateway_provider: VirtualRouter
firewall_provider: VirtualRouter
dhcp_provider: VirtualRouter
lb_provider: VirtualRouter
vpn_provider: VirtualRouter
userdata_provider: VirtualRouter
is_security_group_enabled: 0
allocation_state: Enabled
zone_token: NULL
removed: NULL
uuid: ab66658d-ba84-40e4-8df4-81e3c4aac7e5
On Sun, Dec 2, 2012 at 9:09 AM, Boylan, James <JA...@orbitz.com>wrote:
> What tables in the MySQL DB does the DNS server in the Virtual Router get
> the information for what IP relates to what FQDN?
>
>
>
> -- James
>