Adding DNS CNAME

gunnalag@Test1:/u/gunnalag> ssh master
Last login: Tue Aug 19 11:59:21 2008 from Test1.Testdom.com
Solaris 10 11/06 X86 SunOS_Development

This server is *not* for general consumption.  If you haven’t been invited
to use this server then you might be using the wrong server.

gunnalag@master:/u/gunnalag> cd /etc/named/
gunnalag@master:/etc/named> sudo jco /etc/named/TESTSITE.Testdom.com
Password (sudo):
===================================================================
RCS file: RCS/TESTSITE.Testdom.com,v
retrieving revision 1.75
diff -u -r1.75 TESTSITE.Testdom.com
RCS/TESTSITE.Testdom.com,v  –>  TESTSITE.Testdom.com
revision 1.75 (locked)
done
gunnalag@master:/etc/named> sudoedit /etc/named/TESTSITE.Testdom.com
gunnalag@master:/etc/named> rcsdiff -u /etc/named/TESTSITE.Testdom.com
===================================================================
RCS file: /etc/named/RCS/TESTSITE.Testdom.com,v
retrieving revision 1.75
diff -u -r1.75 /etc/named/TESTSITE.Testdom.com
— /etc/named/TESTSITE.Testdom.com   2008/08/19 06:34:08     1.75
+++ /etc/named/TESTSITE.Testdom.com   2008/08/19 06:41:07
@@ -848,6 +848,9 @@
wsusmgr         IN A            177.99.105.22
                 IN A            177.99.105.23
                 IN HINFO        WSUS Servers
+sepmgr          IN A            177.99.105.127
+                IN A            177.99.105.128
+                IN HINFO        SEPM servers
sys1            IN A            177.99.105.3
gunnalag@master:/etc/named>
gunnalag@master:/etc/named> sudo dnsinc /etc/named/TESTSITE.Testdom.com
/etc/named/TESTSITE.Testdom.com: serial 0808190033 -> 0808190034
gunnalag@master:/etc/named> /etc/named-checkzone /etc/named/TESTSITE.Testdom.com
zone TESTSITE.Testdom.com/IN: loaded serial 808190034
OK
gunnalag@master:/etc/named> sudo jci /etc/named/TESTSITE.Testdom.com
enter the GLOBAL log message, terminated with single ‘.’ or end of file:
>> Added sepmgr cname to resolve to 177.99.105.12[78] SEPM servers.
>> .
/etc/named/RCS/TESTSITE.Testdom.com,v  <–  /etc/named/TESTSITE.Testdom.com
new revision: 1.76; previous revision: 1.75
done
gunnalag@master:/etc/named> sudo /usr/bin/rndc reload
server reload successful
gunnalag@master:/etc/named> host sepmgr
sepmgr.TESTSITE.Testdom.com has address 177.99.105.127
sepmgr.TESTSITE.Testdom.com has address 177.99.105.128
gunnalag@master:/etc/named>

Leave a Reply

Your email address will not be published. Required fields are marked *