From Fedora Project Wiki

m (1 revision(s))
No edit summary
 
(16 intermediate revisions by 9 users not shown)
Line 1: Line 1:
= DNS - SOP =
{{header|infra}}


== Contact Information ==
{{admon/important|All SOPs have been moved to the Fedora Infrastructure [https://pagure.io/infra-docs/ SOP git repository]. Please consult the [https://fedora-infra-docs.readthedocs.io/en/latest/sysadmin-guide/sops/index.html online documentation] for the current version of this document.}}
Owner: Fedora Infrastructure Team


Contact: #fedora-admin, sysadmin-main group, Jesse Keating (f13) and Mike !McGrath (mmcgrath)
[[Category:Infrastructure SOPs]]
 
Location: Duke University and a Colo in Detroit
 
Servers: ns1.fedoraproject.org, DNS1.J2SOLUTIONS.NET
 
Purpose: Provides DNS to our users
 
== Description ==
 
We have two DNS server, the primary is at ns1.fedoraproject.org and is hosted at Duke University, from there it replicates to dns1.j2solutions.net.
 
== Troubleshooting, Resolution and Maintenance ==
 
{{ Template:message/note |  Note, dns1.j2solutions.net is not run by Fedora's Infrastructure Team.  Its resources have been donated by Jesse Keating.
}}
 
=== DNS update ===
DNS config files are puppet managed on puppet1.  The update is standard to the puppet configs at http://fedoraproject.org/wiki/Infrastructure/Puppet/QuickStart
 
From puppet1:
<pre>
cvs -d /cvs/puppet co configs
cd configs/dns/master
vi fedoraproject.org # Don't forget to increment the serial!
cd ../..
cvs commit -m "What you did"
make install
</pre>
 
It should update within a half hour.  You can test the new configs with dig:
 
 
<pre>
dig @ns1.fedoraproject.org fedoraproject.org
dig @dns1.j2solutions.net cvs.fedoraproject.org
</pre>
 
 
== resolv.conf ==
 
In order to make the network more transparent to the admins we do a lot of search based relative names.  Below is a list of what a resolv.conf should look like.
 
{{ Template:message/warning |  Any machine that is not on our vpn or has not yet joined the vpn should _NOT_ have the vpn.fedoraproject.org search until after it has been added to the vpn (if it ever does)
}}
 
=== Phoenix ===
<pre>
search fedora.phx.redhat.com vpn.fedoraproject.org fedoraproject.org
</pre>
 
=== Non-Phoenix ===
<pre>
search vpn.fedoraproject.org fedoraproject.org
</pre>
 
The idea here is that we can, when need be, setup local domains to contact instead of having to go over th vpn directly but still have sane configs.  For example if we tell the proxy server to hit "app1" and that box is in PHX, it will go directly to app1, if its not, it will go over the vpn to app1.

Latest revision as of 12:01, 16 February 2017

All SOPs have been moved to the Fedora Infrastructure SOP git repository. Please consult the online documentation for the current version of this document.