#2 oDns setup problems - does not generate

open
nobody
None
5
2001-10-18
2001-10-18
No

Hi there,

two days ago downloaded oDns .. was having nightmare
for like two days setting the whole thing up ..

and still didn't :(
i know that its not the fault of the oDns its my
settings ...
and when i type in:
sniffy:/# host ns1.aoulous.ca
ns1.aoulous.ca A 10.0.7.2
!!! ns1.aoulous.ca A record has zero ttl

so when i run perl.odns.pl
it works but gives me this error messages: when i run
perl odns.pl: and does not generate anything :((
!!! NS1.AOULOUS.CA A record has zero ttl

but if i go to odns.pl - line around 157 saying:

$type = $db->prepare("select type from $dns_ns where
(var_content=\"$server_id\" or ns_id=\"$server_id\")
and domain=\"$domain\"");

if i change select query to
SELECT type FROM $dns WHERE domain=\"$domain\"

(get rid of (var_content=\"$server_id\" or
ns_id=\"$server_id\"))

then everything works and generates files .. but its
not the way it sould work - i know that ...

here is my set up:

config.php :
$server_id = '3253525';

config.pl :
$server_id = 'sniffy' # name of my server

checked all paths ..
installed sudo, host
made records in the database

ACL: - still not sure what this means :
INSERT INTO dns_acl VALUES ('Sniffy - Name
Server','127.0.0.1; 64.86.4.39;');
INSERT INTO dns_acl VALUES ('yoshi','64.86.4.38');

Contacts:
INSERT INTO dns_contacts VALUES (1,2,'Alexei
Smirnov','VirtuMAN Systems
Inc.','','','','','Toronto','Canada','416-848-
6202','416-214-
1330','alex@aoulous.com',NULL,20011017194759);

Added a few hosts:
INSERT INTO dns_hosts VALUES ('Sniffy - Web
Server',0,'64.86.4.39','0000-00-00
00:00:00',20011017194843,'Web','');
INSERT INTO dns_hosts VALUES
('sniffy',0,'NS2.AOULOUS.CA','0000-00-00
00:00:00',20011017214810,'NS','');
INSERT INTO dns_hosts VALUES ('Sniffy -
mail.aoulous.com',0,'mail.aoulous.com','0000-00-00
00:00:00',20011017195443,'MX','');
INSERT INTO dns_hosts VALUES
('64.86.4.38',0,'NS1.AOULOUS.CA','0000-00-00
00:00:00',20011017231252,'NS','');

These are my name servers: NS1.AOULOUS.CA - Windows
2000
NS2. .... - Linux Debian with oDns
INSERT INTO dns_ns VALUES
(1,'xtreamzone.com','','primary','64.86.4.38');
INSERT INTO dns_ns VALUES
(2,'xtreamzone.com','','secondary','sniffy');

Domain Name:
INSERT INTO dns_domains VALUES
('xtreamzone.com',2,'2001-10-17
19:56:38',20011017231320);

When i added this domain name it generated 16 records
in the database - here they are:
INSERT INTO dns_entries VALUES
(1,'xtreamzone.com','soa_serial','','2001101712','soa'
,'',2,'2001-10-17 21:49:19',20011017231320);
INSERT INTO dns_entries VALUES
(2,'xtreamzone.com','soa_refresh','','10800','soa','',
2,'2001-10-17 23:13:20',20011017231320);
INSERT INTO dns_entries VALUES
(3,'xtreamzone.com','soa_retry','','3600','soa','',2,'
2001-10-17 23:13:20',20011017231320);
INSERT INTO dns_entries VALUES
(4,'xtreamzone.com','soa_expire','','604800','soa','',
2,'2001-10-17 23:13:20',20011017231320);
INSERT INTO dns_entries VALUES
(5,'xtreamzone.com','soa_ttl','','43200','soa','',2,'2
001-10-17 23:13:20',20011017231320);
INSERT INTO dns_entries VALUES
(6,'xtreamzone.com','soa_nic_bil','','Alexei
Smirnov','soa','',2,'2001-10-17
23:13:20',20011017231320);
INSERT INTO dns_entries VALUES
(7,'xtreamzone.com','soa_nic_adm','','Alexei
Smirnov','soa','',2,'2001-10-17
23:13:20',20011017231320);
INSERT INTO dns_entries VALUES
(8,'xtreamzone.com','soa_nic_tec','','Alexei
Smirnov','soa','',2,'2001-10-17
23:13:20',20011017231320);
INSERT INTO dns_entries VALUES
(9,'xtreamzone.com','xtreamzone.com','Sniffy -
mail.aoulous.com','','mx','10',2,'2001-10-17
23:13:20',20011017231320);
INSERT INTO dns_entries VALUES
(10,'xtreamzone.com','www','Sniffy - Web
Server','','a_cname','',2,'2001-10-17
23:13:20',20011017231320);
INSERT INTO dns_entries VALUES
(11,'xtreamzone.com','ftp','Sniffy - Web
Server','','a_cname','',2,'2001-10-17
23:13:20',20011017231320);
INSERT INTO dns_entries VALUES
(12,'xtreamzone.com','mail','Sniffy - Web
Server','','a_cname','',2,'2001-10-17
23:13:20',20011017231320);
INSERT INTO dns_entries VALUES
(13,'xtreamzone.com','pop3','Sniffy - Web
Server','','a_cname','',2,'2001-10-17
23:13:20',20011017231320);
INSERT INTO dns_entries VALUES
(14,'xtreamzone.com','pop','Sniffy - Web
Server','','a_cname','',2,'2001-10-17
23:13:20',20011017231320);
INSERT INTO dns_entries VALUES
(15,'xtreamzone.com','imap','Sniffy - Web
Server','','a_cname','',2,'2001-10-17
23:13:20',20011017231320);
INSERT INTO dns_entries VALUES
(16,'xtreamzone.com','xtreamzone.com','Sniffy - Web
Server','','a_cname','',2,'2001-10-17
23:13:20',20011017231320);

And this is my User:
INSERT INTO odns_users VALUES
(2,'test','378b243e220ca493',NULL,'Philipp',NULL,NULL,
NULL,NULL,NULL,NULL,NULL,NULL,NULL,20000914154143,NULL
,'Gortan',NULL,NULL,'0000-00-00
00:00:00',NULL,NULL,'en');

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks