On Wednesday 20 October 2004 14:41, [EMAIL PROTECTED] wrote: > I have a little problem with Vegadns version 0.9.7, when i create a domain > (for example jorge.com.ar)the data shows > #jorge.com.ar > Zjorge.com.ar:ns1.myserver.com:hostmaster.jorge.com.ar::16384:2048:1048576: >2560:86400 and tinydns doesnt respond to any query. > But if i do ./add-ns jorge2.com.ar from console > > the data contains > .jorge2.com.ar:200.61.185.99:a:259200 > > and tinydns works to jorge2.com.ar querys. > > Any help?
What you want is something like this: #jorge.com.ar +jorge.com.ar:200.61.185.99:3600 +www.jorge.com.ar:200.61.185.99:3600 +mail.jorge.com.ar:200.61.185.99:3600 @jorge.com.ar::mail.jorge.com.ar:10:3600 &jorge.com.ar::ns1.myserver.com:3600 &jorge.com.ar::ns2.myserver.com:3600 Zjorge.com.ar:ns1.myserver.com:hostmaster.jorge.com.ar::16384:2048:1048576:2560:86400 The above assumes that ns1.myserver.com is defined elsewhere, the 2ndy nameserver is ns2.myserver.com and is defined elsewhere, that mail is on the same machine, at mail.jorge.com.ar, and that you have alias www You need to set up the default records so that they give you something like the above Here is some sql that should help you get started. It goes into default_records. INSERT INTO default_records (record_id, group_owner_id, host, type, val, distance, ttl, default_type) VALUES (1, 1, 'hostmaster.DOMAIN:ns1.myserver.com', 'S', '16384:2048:1048576:2560', 0, 86400, 'system'); INSERT INTO default_records (record_id, group_owner_id, host, type, val, distance, ttl, default_type) VALUES (2, 1, 'www.DOMAIN', 'A', '200.61.185.99', 0, 3600, 'system'); INSERT INTO default_records (record_id, group_owner_id, host, type, val, distance, ttl, default_type) VALUES (3, 1, 'ftp.DOMAIN', 'A', '200.61.185.99', 0, 3600, 'system'); INSERT INTO default_records (record_id, group_owner_id, host, type, val, distance, ttl, default_type) VALUES (4, 1, 'mail.DOMAIN', 'A', '200.61.185.99', 0, 3600, 'system'); INSERT INTO default_records (record_id, group_owner_id, host, type, val, distance, ttl, default_type) VALUES (5, 1, 'webmail.DOMAIN', 'A','200.61.185.99', 0, 3600, 'system'); INSERT INTO default_records (record_id, group_owner_id, host, type, val, distance, ttl, default_type) VALUES (6, 1, 'DOMAIN', 'A', '200.61.185.99', 0, 3600, 'system'); INSERT INTO default_records (record_id, group_owner_id, host, type, val, distance, ttl, default_type) VALUES (7, 1, 'DOMAIN', 'N', 'ns1.myserver.com', 0, 3600, 'system'); INSERT INTO default_records (record_id, group_owner_id, host, type, val, distance, ttl, default_type) VALUES (8, 1, 'DOMAIN', 'N', 'ns2.myserver.com', 0, 3600, 'system'); INSERT INTO default_records (record_id, group_owner_id, host, type, val, distance, ttl, default_type) VALUES (9, 1, 'DOMAIN', 'M', 'mail.DOMAIN', 10, 3600, 'system'); (one insert per line) This creates aliases for ftp, mail,www,webmail edit to suit your needs -- ----------------- Bob Hutchinson Midwales dot com -----------------
