Ask a Question related to FreeBSD, Design and Development.

  1. #1

    Default djbdns question

    Greetings,
    I setup djbdns on a freebsd server attached to my internal network.
    It answers for the local machine on the domain for my internal while
    forwarding all others to our ISP for resolution.

    I set this up a 2 years ago and haven't needed to do a thing other
    than to add/remove machines.

    Well, now I need to change the domain name from osborneindustries.com
    to osborneinternal.com. Unfortunately, I haven't found any documentation
    that takes you through the changes to convert and already running
    tinydns/dnscache
    setup from one domain name to a different one.

    Anybody have any pointers here ?

    thanks,
    Darryl


    Darryl Hoar Guest

  2. Similar Questions and Discussions

    1. newB question: related tables question
      hello i have a data base with 10 tables, i want to automaticaly creat a row in all of the tables wehen i create in the first one. normal table...
  3. #2

    Default Re: djbdns question

    On Wed, 23 Feb 2005 14:45:16 -0600, Darryl Hoar <darryl@osborne-ind.com> wrote:
    > Greetings,
    > I setup djbdns on a freebsd server attached to my internal network.
    > It answers for the local machine on the domain for my internal while
    > forwarding all others to our ISP for resolution.
    >
    > I set this up a 2 years ago and haven't needed to do a thing other
    > than to add/remove machines.
    >
    > Well, now I need to change the domain name from osborneindustries.com
    > to osborneinternal.com. Unfortunately, I haven't found any documentation
    > that takes you through the changes to convert and already running
    > tinydns/dnscache
    > setup from one domain name to a different one.
    >
    > Anybody have any pointers here ?
    Change directory to the tinydns data directory (cd
    /service/tinydns/root) , edit your tinydns data file. Editing can be
    done in one sweep with

    # mv data data.old
    # sed -e 's/osborneindustries.com/osborneinternal.com/g' data.old >data

    Now run "make" to generate a new "data.cdb" file from the edited
    "data" file. Tinydns will notice the change, no need to start/stop or
    give a -HUP to tinydns.


    The only other thing left is to tell dnscache about the change.

    # cd /service/dnscache/root/servers
    You will see a file called "osborneindustries.com" The contents of
    that file is the IP address of your tinydns server. Rename this file
    with "mv" to "osborneinternal.com"


    =Adriaan=
    J65nko BSD Guest

  4. #3

    Default Re: djbdns question

    On Thu, 24 Feb 2005 22:18:01 +0100, J65nko BSD <j65nko@gmail.com> wrote:
    > On Wed, 23 Feb 2005 14:45:16 -0600, Darryl Hoar <darryl@osborne-ind.com> wrote:
    > > Greetings,
    > > I setup djbdns on a freebsd server attached to my internal network.
    > > It answers for the local machine on the domain for my internal while
    > > forwarding all others to our ISP for resolution.
    > >
    > > I set this up a 2 years ago and haven't needed to do a thing other
    > > than to add/remove machines.
    > >
    > > Well, now I need to change the domain name from osborneindustries.com
    > > to osborneinternal.com. Unfortunately, I haven't found any documentation
    > > that takes you through the changes to convert and already running
    > > tinydns/dnscache
    > > setup from one domain name to a different one.
    > >
    > > Anybody have any pointers here ?
    >
    > Change directory to the tinydns data directory (cd
    > /service/tinydns/root) , edit your tinydns data file. Editing can be
    > done in one sweep with
    >
    > # mv data data.old
    > # sed -e 's/osborneindustries.com/osborneinternal.com/g' data.old >data
    >
    > Now run "make" to generate a new "data.cdb" file from the edited
    > "data" file. Tinydns will notice the change, no need to start/stop or
    > give a -HUP to tinydns.
    >
    > The only other thing left is to tell dnscache about the change.
    >
    > # cd /service/dnscache/root/servers
    > You will see a file called "osborneindustries.com" The contents of
    > that file is the IP address of your tinydns server. Rename this file
    > with "mv" to "osborneinternal.com"
    >
    I forget to mention that a restart of dnscache is needed

    # svc -t /service/dnscache

    At [url]http://www.freebsdforums.org/forums/showthread.php?s=&threadid=25244[/url]
    you can find a comfortable "dnscachectl" script to start/stop and many
    other things with dnscache.

    =Adriaan=
    J65nko BSD Guest

  5. #4

    Default Re: djbdns question


    michael Christie Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139