Re: Questions about DNS. (ANSWERS)
"Robert Middleswarth" <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.devel |
|---|---|
| Message-ID | <[email protected]> |
Thank you that makes it alot eaiser. I known I have to maintain the file and
it would be better from the cgi interface but this will work for me.
Thanks
Robert Middleswarth
Atif Ghaffar said:
> If you are looking bind8/9 then yes, there is an undocumented feature in
> ispman.
>
> See extract from the code below. Basically you can just add a file
> called (For example: for domain test.com)
>
> /opt/ispman/var/dns/test.com.local
>
> This file should have whatever entries you may have in a zone file.
>
> Example:
>
> smtp 5M IN A 1.1.1.1
>
>
> __Extracted_code_from_dns.bind8.lib__
>
>
>
> # look if there is a local file where more entries for this zone are
> defined.
> # If yes, then read the file and append the entries to the zone file.
> # The admin is responsible to make sure that the entries dont disturb
> other entries coming from LDAP
>
> my $local = join '/', ($ispman->getConf("installDir") ,
> "var/dns/$domain.local");
> if (-e $local) {
> print ZONE "\n\n";
> print ZONE "; ATTENTION\n";
> print ZONE "; The following is coming from a localfile\n";
> print ZONE "; $local\n";
> print ZONE "; so dont blame ISPMan if that breaks your
> DNS\n\n";
> print ZONE cat($local);
> }
> }
>
>
>
> Robert Middleswarth wrote:
>> I was thinking more of /opt/ispman/templates/named.conf.footer
>
>
>
> -------------------------------------------------------
> 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