Dave Augustus
2011-Apr-02 17:14 UTC
[Puppet Users] adding dns entries to windows(2k3/2k8) dns server
When I add a web site to a server managed by puppet, I need to update DNS. Unfortunately, most of the clients are part of a windows AD domain. These web sites are for internal development, testing and qa. Anyone have suggestions on how I could accomplish this from puppet? That is: In a puppet manifest using an apache module, I add a website. Puppet creates the apache configs, etc, etc and now that web site will need a DNS entry for clients to use. Thanks, Dave -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Richard Clark
2011-Apr-03 16:12 UTC
Re: [Puppet Users] adding dns entries to windows(2k3/2k8) dns server
On 2 Apr 2011, at 18:15, Dave Augustus <davea@ingraftedsoftware.com> wrote:> When I add a web site to a server managed by puppet, I need to update DNS. Unfortunately, most of the clients are part of a windows AD domain. These web sites are for internal development, testing and qa. > > Anyone have suggestions on how I could accomplish this from puppet? That is: > > In a puppet manifest using an apache module, I add a website. > Puppet creates the apache configs, etc, etc and now that web site will need a DNS entry for clients to use. > > Thanks, > DaveI''m not sure how the puppet on Windows work is progressing - or if it''s yet capable of doing this sort of stuff. One option would be to create a subdomain, and have one or more puppet-managed Bind servers authoritative for that subdomain, then just configure your windows DNS servers to forward requests for that subdomain to them. Another option, if you''re running 2008 R2 on your DC''s and you''re storing DNS in LDAP - you can just add entries using standard LDAP tools called from puppet. There are a few caveats like the need to point it at the DC hosting the DNS operations master role. The two root folders that you need to look at for this are: DC=DomainDnsZones or Dc=ForestDnsZones. Entries have objectClasses like ''dnsZone'' or ''dnsNode''. Cheers, -- Richard Clark richard@fohnet.co.uk -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Ohad Levy
2011-Apr-03 17:39 UTC
Re: [Puppet Users] adding dns entries to windows(2k3/2k8) dns server
On Sat, Apr 2, 2011 at 8:14 PM, Dave Augustus <davea@ingraftedsoftware.com>wrote:> When I add a web site to a server managed by puppet, I need to update DNS. > Unfortunately, most of the clients are part of a windows AD domain. These > web sites are for internal development, testing and qa. > > Anyone have suggestions on how I could accomplish this from puppet? That > is: > > In a puppet manifest using an apache module, I add a website. > Puppet creates the apache configs, etc, etc and now that web site will need > a DNS entry for clients to use. >Another option would be to use foreman, as it can automatically create dns/dhcp records on windows servers too. if thats too much, you could: directly communicate with foreman smart proxy (which actually creates the entries) or use nsupdate. Ohad -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.