Re: Questions about DNS.
"Robert Middleswarth" <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.devel |
|---|---|
| Message-ID | <[email protected]> |
I was thinking more of /opt/ispman/templates/named.conf.footer with an include directive in there that pointed to a separate file I would have to keep updated by hand. Is the footer file simple attached to the end of the zone or is there a way to insert code the make it spefic to witch ever domain is being processed? so each zone would have some thing /etc/bin/abc.conf for domain abc and /etc/bin/xyz.conf for domain xyz. If that isn't and options then thing became alot harder. Thanks again Robert Serving said: > > ----- Original Message ----- > From: "Robert Middleswarth" <[email protected]> > Date: Thu, 1 Jul 2004 09:44:25 -0400 (EDT) > To: ispman-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > Subject: Re: [Ispman-developers] Questions about DNS. > >> OK. What about the zone template footer file. Is there a way to do >> something >> like include "/etc/bind/'$domain'.conf" and have the system look for an >> include file for each zone? > > > You can auto create entries to an _existing_ zone as such: > > less /opt/ispman/templates/domain.dnszone.ldif.template.local > <perl>print "HELLO";</perl> > <perl> > #$ispman->make_ldif_nSRecord($domain, '@', 'ns5.cnetwork.com.'); > $ispman->make_ldif_aRecord($domain, 'mail', '192.168.1.100'); > </perl> > > <perl> > $ispman->make_ldif_aRecord($domain, 'webmail', '192.168.0.200'); > </perl> > > > You still can't set the TTL as far as I know. > > I had to do it manualy by editing the zone file. If you do, don ot forget to > increase the serial number. > > > Yea the systax is probly off not looking at my >> bind manual right now but you get the idea. Has anyone done this before? I >> am using 1.1.1 but getting ready to upgrade to 1.2 will that make a >> difference? >> > > Nop. > > >> Thanks again >> Robert Middleswarth >> >> Serving said: >> > As far as I know ispman does not handle TTLs yet. >> > >> > If you want to do what you wanr you have to edit the zone file itself >> manualy. >> > >> > Be care full not to over write it when you make DNS changes. >> > >> > Serving >> > >> > :) >> > >> > ----- Original Message ----- >> > From: "Robert Middleswarth" <[email protected]> >> > Date: Wed, 30 Jun 2004 13:37:42 -0400 (EDT) >> > To: ispman-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >> > Subject: [Ispman-developers] Questions about DNS. >> > >> >> I have a need to change to default of how long before check on an A >> >> record. here is an Example: >> >> >> >> smtp 1D IN A x.x.x.x >> >> >> >> I want to change that to something smaller like 5 Mins but only for that >> >> entry ever thing else I want to stay at one day. >> >> >> >> smtp 5M IN A x.x.x.x >> >> >> >> That way if I have a T1 failiure I can make changes to the DNS and have >> to >> >> prograte fast so I can move what for me is the most import services to >> off >> >> site backups. >> >> >> >> I have been tring to follow the code for that. I found were to enter the >> >> template code for display but not sure how to connect that code to the >> >> dnszone schema and have that data generate. Any info you can give would >> >> be great. I am not a perl programer althought I have read a few books >> and >> >> can at least follow the code some. >> >> >> >> Thanks >> >> Robert >> >> >> >> >> >> ------------------------------------------------------- >> >> This SF.Net email sponsored by Black Hat Briefings & Training. >> >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >> >> digital self defense, top technical experts, no vendor pitches, >> >> unmatched networking opportunities. Visit www.blackhat.com >> >> _______________________________________________ >> >> Ispman-developers mailing list >> >> Ispman-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >> >> https://lists.sourceforge.net/lists/listinfo/ispman-developers >> > >> > -- >> > ___________________________________________________________ >> > Sign-up for Ads Free at Mail.com >> > http://promo.mail.com/adsfreejump.htm >> > >> > >> > >> > ------------------------------------------------------- >> > This SF.Net email sponsored by Black Hat Briefings & Training. >> > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >> > digital self defense, top technical experts, no vendor pitches, >> > unmatched networking opportunities. Visit www.blackhat.com >> > _______________________________________________ >> > Ispman-developers mailing list >> > Ispman-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >> > https://lists.sourceforge.net/lists/listinfo/ispman-developers >> > >> > >> > >> > >> >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by Black Hat Briefings & Training. >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >> digital self defense, top technical experts, no vendor pitches, >> unmatched networking opportunities. Visit www.blackhat.com >> _______________________________________________ >> Ispman-developers mailing list >> Ispman-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >> https://lists.sourceforge.net/lists/listinfo/ispman-developers > > -- > ___________________________________________________________ > Sign-up for Ads Free at Mail.com > http://promo.mail.com/adsfreejump.htm > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Ispman-developers mailing list > Ispman-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/ispman-developers > > > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com