1Quickstart instructions for MyDNS (PostgreSQL installation): 2 3............................................................................... 4 51. Configure and install MyDNS. 6 7 $ ./configure 8 $ make 9 # make install 10 11............................................................................... 12 132. Create a database called `mydns' on your PostgreSQL server. 14 15 # su - postgres 16 $ createdb mydns 17 18............................................................................... 19 203. Create the tables in the `mydns' database. 21 22 $ /usr/local/sbin/mydns --create-tables | psql mydns 23 24............................................................................... 25 264. Create a user the mydns(8) server can use to access the `mydns' database. 27 28 $ psql mydns 29 mydns=# CREATE USER "<user>" PASSWORD '<password>'; 30 mydns=# GRANT SELECT ON soa,soa_id_seq TO "<user>"; 31 mydns=# GRANT SELECT ON rr,rr_id_seq TO "<user>"; 32 33............................................................................... 34 355. Create your configuration file. 36 37 # make conf 38 39............................................................................... 40 416. Edit the configuration file. Change the `db-user' and `db-pass' 42 values to reflect the user name and password you created in step 3. 43 44............................................................................... 45 467. Start `mydns'. You may want to add something like this to your startup 47 scripts. 48 49 # mydns --background 50 51............................................................................... 52 53 54If you currently have a name server running BIND or something else, you can use 55the `mydnsimport' program to import the data from that server into your new 56MyDNS database. See the user's manual for details. 57 58 59## vi:set ts=3: 60