<p>I second that. Its consistent with your convention... and search domains rock.</p>
<div class="gmail_quote">On Aug 5, 2011 7:22 PM, "Brian Cully" <<a href="mailto:bcully@gmail.com">bcully@gmail.com</a>> wrote:<br type="attribution">> I like naming from most-specific to least, in proper DNS fashion. We actually do similar things here across our data centers. So I'd say:<br>
> <br>> puppet.$datacenter.$client.$tld<br>> <br>> The only reason we did this was for the aforementioned most-to-least specific strategy. You can obviously configure puppet to use whatever you want. A nice side effect, though, was being able to reference puppet as nothing more than "puppet" thanks to using resolv.conf search settings and always getting the closest server.<br>
> <br>> On Aug 5, 2011, at 19:05, Matt Juszczak <<a href="mailto:matt@atopia.net">matt@atopia.net</a>> wrote:<br>> <br>>> Hi folks,<br>>> <br>>> I've come up with a great DNS naming scheme that I'm going to be using for my customers.<br>
>> <br>>> Let's say a customer's company is "abc corp".  I name the hosts:<br>>> <br>>> <server name>.<data center>.<a href="http://abc-networks.net">abc-networks.net</a><br>
>> <br>>> With an internal DNS record (powered by pdns/ldap backend) of:<br>>> <br>>> <server name>.<data center>.abc-networks.internal<br>>> <br>>> App connections use <a href="http://abc-app.com">abc-app.com</a>, such as:<br>
>> <br>>> <a href="http://db.appname.abc-app.com">db.appname.abc-app.com</a> / db.appname.abc-app.internal<br>>> <br>>> So in theory, I can launch a server called "bob" in the "bwi01" data center, have it be a master database server for the "primary" database.<br>
>> <br>>> <a href="http://db.primary.abc-app.com">db.primary.abc-app.com</a> -><br>>>   <a href="http://db1.primary.abc-app.com">db1.primary.abc-app.com</a> -><br>>>   <a href="http://bob.bwi01.abc-networks.net">bob.bwi01.abc-networks.net</a><br>
>> <br>>> This way, I keep the network and app "dns" separate, and things stay clean, and I can easily re-point things.<br>>> <br>>> But I'm stuck.  Puppet is technically a piece of software, but it only powers the server configuration, nothing else (and isn't part of any specific app).  Even more so, I setup a puppet pool per data center.<br>
>> <br>>> So in that case, would I make an exception and do:<br>>> <br>>> <a href="http://puppet.bwi01.abc-networks.net">puppet.bwi01.abc-networks.net</a> (pointing to the pool of puppet servers listening on port 8130)<br>
>> <br>>> or would I do:<br>>> <br>>> <a href="http://bwi01.puppet.abc-app.com">bwi01.puppet.abc-app.com</a><br>>> <br>>> to indicate the "app" called puppet and the "bwi01" server.<br>
>> <br>>> Any input? :) This is going to be spread out across multiple clients, and hard to change later, so I wanted to throw my thoughts out there.<br>>> <br>>> -Matt<br>>> _______________________________________________<br>
>> talk mailing list<br>>> <a href="mailto:talk@lists.nycbug.org">talk@lists.nycbug.org</a><br>>> <a href="http://lists.nycbug.org/mailman/listinfo/talk">http://lists.nycbug.org/mailman/listinfo/talk</a><br>
> _______________________________________________<br>> talk mailing list<br>> <a href="mailto:talk@lists.nycbug.org">talk@lists.nycbug.org</a><br>> <a href="http://lists.nycbug.org/mailman/listinfo/talk">http://lists.nycbug.org/mailman/listinfo/talk</a><br>
</div>