Sean Hincheeinitial push75d07b48 years agoHistory
1375 lines · 11.1 KB · HTML
RawDownload
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head>	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />	<meta name="keywords" content="9p, 9p2000, research, Plan 9, Inferno, Unix, Open Source, Bell Labs" />	<meta name="description" content="Open source distributed operating system Plan 9 from Bell Labs." />	<link rel="stylesheet" href="/wiki-style.css" media="all" type="text/css" />	<title>Dns configuration notes (Diff)</title></head><body><h1><a name="top"></a>Dns configuration notes <i>-Diff-</i></h1> <div class='body'> <!-- ***************************** --> <hr /><div class='diff_head'><a href="index.html">Tue Mar 25 12:55:38 EDT 2014</a>, marksmith</div><hr /><span class='old_text'>Firstofall:<ul> <li>Configurethenetworkasexplainedin<a href="../Network_configuration">Networkconfiguration</a></li> <li>Readthe<a href="http://plan9.bell-labs.com/magic/man2html/8/ndb"><i>ndb</i>(8)</a>manpage</li></ul> <a name="LOCAL_DNS" /><h3>LOCAL DNS</h3> <pre>ndb/dns -r</pre> <p class='para'>Youonlyneeda<pre></span><span class='new_text'>dns = 1.1.1.1</span><span class='old_text'></pre>entryinyouripnetconfiguration(see<a href="../Network_configuration">Networkconfiguration</a>)andthatserverwillbeusedtoanswerdnsqueries.</p> <p class='para'>Ifyou'reusingip/ipconfigtoconfigureyournetworkviadhcp,dnsentrywillbeautomaticallysetup.</p> <a name="INTERNAL_DNS_SERVER" /><h3>INTERNAL DNS SERVER</h3> <p class='para'>(normallyusedasadns-cachetoavoidwasteonbandwidthwithwww.google.comqueries:)ndb/dns-s)</p> <p class='para'>Youneedtouserootdnsserversdirectly,thenyoucananswerallthenamestoyourclientsdirectly(theydoesn'tneedtogoouttheretoaskforthem,soyousavesbandwidth).Youwillneedanentrylike:<pre>dom=              ns=A.ROOT-SERVERS.NET              ns=B.ROOT-SERVERS.NET         dom=A.ROOT-SERVERS.NET ip=198.41.0.4         dom=B.ROOT-SERVERS.NET ip=128.9.0.107</pre>see/lib/ndb/local.complicatedforacompleteexample.</p> <a name="PRIMARY_DNS_SERVER" /><h3>PRIMARY DNS SERVER</h3> <p class='para'>(ormaster-&gt;ndb/dns-s)</p> <p class='para'>Youwillneedanentrylike:</p> <pre>dom=cs.bell-labs.com soa=             refresh=3600 ttl=3600             ns=plan9.bell-labs.com             ns=ns1.cs.bell-labs.com             ns=ns2.cs.bell-labs.com             mb=presotto@plan9.bell-labs.com             mx=mail.research.bell-labs.com pref=20             mx=plan9.bell-labs.com pref=10             dnsslave=nslocum.cs.bell-labs.com             dnsslave=vex.cs.bell-labs.com</pre> <p class='para'>inyour/lib/ndb/localfile.Youcanseeexamplesin/lib/ndb/local.complicatedthatcomeswithstandarddistribution.</p> <p class='para'>IfyouarefamiliarwithDNS,youwillfindthatentryself-explanatory.Ifnot:<ul> <li>ns-thenameofyourdnsserver,thisshouldbedefinedwithasysentry(see<a href="../Network_configuration">Networkconfiguration</a>).Youcanputallthensentriesthatserveyourdomain(masterandslaves)</li> <li>mb-theemailoftheadministrator</li> <li>mxadnpref-themailexchanger(mx)andthepreference(pref)ithas.Thelowernumberistheonewithmorepreferencewhenchoosingamailserver.</li> <li>dnsslave-thenameofyourslavednsserver(normallyotherserver).Asfarasiknowyoucan'ttransferzonestoaPlan9dnsserverautomatically,youcandistributeyourndbfileacrossyourplan9serversviafsoruseexternaltoolstoqueryaremoteserverandwritetheappropiatendbfile.SteveSimoncreatedsuchtool,seeon/n/sources/contrib/steve/zonefresh.tar.bz2.</li> <li>ttlandrefresh-thedefaultsshouldbeenoughtfornormalsetups</li></ul> </p> <p class='para'>Ifyouhaveyourzoneentryready,takealookatndbfileagaintoseeifallthenamesyouusedinthezonedefinitioncanberesolvedusingndbinformation(withentrieslikedom=plan9.bell-labs.comip=1.1.1.1orsysentriesasdescribedin<a href="../Network_configuration">Networkconfiguration</a>).</p> <a name="SLAVE_DNS_SERVER" /><h3>SLAVE DNS SERVER</h3> <p class='para'>Ineverdonethatinplan9,butisupposeislikesettingupaprimaryone.ThereisnooptionsandnoautomatictransferzonefromamastertoaPlan9dnsslaveserver.</p> <a name="COMBINATIONS_(AND_NDB/DNS_COMMAND)" /><h3>COMBINATIONS (AND NDB/DNS COMMAND)</h3> <p class='para'>Itispossibletouseamixtureof

Lines 1–500 of 1375.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t