App::AllKnowingDNS::Config(3pm) User Contributed Perl Documentation App::AllKnowingDNS::Config(3pm)NAME
App::AllKnowingDNS::Config - configuration object
DESCRIPTION
Note: User documentation is in all-knowing-dns(1).
This module defines an object which holds the parsed version of the AllKnowingDNS configuration file.
FUNCTIONS
zone_for_ptr($zone)
Returns the appropriate zone for the given PTR query or undef if there is no appropriate zone.
Example:
my $query = '7.c.e.2.3.4.e.f.f.f.b.d.9.1.2.0.' .
'0.c.c.c.e.0.0.1.8.8.d.4.1.0.0.2.ip6.arpa';
my $zone = $config->zone_for_ptr($query);
return 'NXDOMAIN' unless defined($zone);
...
zone_for_aaaa($zone)
Returns the appropriate zone for the given AAAA query or undef if there is no appropriate zone.
Example:
my $query = 'ipv6-foo.nutzer.raumzeitlabor.de';
my $zone = $config->zone_for_aaaa($query);
return 'NXDOMAIN' unless defined($zone);
...
VERSION
Version 1.3
AUTHOR
Michael Stapelberg, "<michael at stapelberg.de>"
LICENSE AND COPYRIGHT
Copyright 2012 Michael Stapelberg.
This program is free software; you can redistribute it and/or modify it under the terms of the BSD license.
perl v5.14.2 2012-03-28 App::AllKnowingDNS::Config(3pm)
Check Out this Related Man Page
NBP_NAME(3) Library Functions Manual NBP_NAME(3)NAME
nbp_name - NBP name parsing
SYNOPSIS
nbp_name( name, obj, type, zone )
char *name, **obj, **type, **zone;
DESCRIPTION
nbp_name() parses user supplied names into their component object, type, and zone. obj, type, and zone should be passed by reference, and
should point to the caller's default values. nbp_name() will change the pointers to the parsed-out values. name is of the form
object:type@zone, where each of object, :type, and @zone replace obj, type, and zone, respectively. type must be proceeded by `:', and
zone must be preceded by `@'.
EXAMPLE
The argument of afpd(8)'s -n option is parsed with nbp_name(). The default value of obj is the first component of the machine's hostname
(as returned by gethostbyname(3)). The default value of type is ``AFPServer'', and of zone is ``*'', the default zone. To cause afpd to
register itself in some zone other than the default, one would invoke it as
afpd -n @some-other-zone
obj and type would retain their default values.
BUGS
obj, type, and zone return pointers into static area which may be over-written on each call.
netatalk 1.3 12 Jan 1994 NBP_NAME(3)
I have forward dns zone file with A records and converting it to reverse zone file
ex.
subdomain1 A 10.20.30.40
subdomain2 A 10.20.31.41
subdomain3 A 10.20.35.43
subdomain4 A 10.20.30.41
subdomain5 ... (5 Replies)
Hi Gurus
I am not able to ping the local zone from global zone
when i am trying to ping i am getting below
ICMP Host Unreachable from gateway zone ( 192.268.35.210)
for icmp from zone ( 192.168.35.210) to sun1 ( 192.168.35.210)
However i can ping local zone from global
please... (12 Replies)
Is there a way to mount a filesystem from the global zone to the local zone without rebooting the local zone?
I'm using a lofs filesystem..
any help is appreciated! thanks.. (4 Replies)
Hi All,
Please help me in configuring interface in zone
I've zone with dedicated interface and I want this interface to get up with global system boot. I am struggling with IP, as always after reboot interface is not getting up automatically and I understand the reason for that.... (10 Replies)
I have a solaris10 zone running an oracle db in it. The zone hangs after some time the db is started and i 'm unable to log into the zone after that so i have to halt and restart the zone along with db .. but after few hrs again it hangs. What would be the reason for it. I did svcs -xv and got... (13 Replies)
Hi,
I have the following output from a file
zone "adm.test.com" {
abc
test1.db
}
zone "test.com" {
xyz
test2.db
}
zone "1.test.com.sg" {
1abc
test3.db
}
zone "3.test.com.uk" {
1xyz
test4.db
} (6 Replies)
Hi All,
I have a whole root zone, tsesbd02-zesbx01. On this zone, syslog service is not coming up. While it is working good on Global zone. Below are commands from tsesbd02-zesbx01
root@tsesbd02-zesbx01:/# svcs -a svc:/system/system-log:default
svcs: -a ignored when used with arguments.... (13 Replies)
I am curious to know if I can reboot a zone while I was inside the zone itself.
By doing so can I know what happens to the zone and what are the pros and cons.
Is it recommended or not?
Is that zone will properly shuts down;
:confused::confused::confused: (7 Replies)
We have a Solaris 10 system with a solaris 9 branded zone. Trying to create a new lo interfaces i ended up rebooting the zone. The zone will not come up, it ran fine before i tried this. When i run the zoneadm -z zone-s9 boot command i get
"zoneadm: zone 'zone-s9': lo0:2: could not bring... (4 Replies)
I have sparse root solaris-10 zone. I got a request to increase ulimit for a specific user on that zone from 1024 to 8192. Since this is sparse zone, so it doesn't have /etc/system and also I do not want to reboot server.
root@serv_ora1:/# ulimit -a
core file size (blocks, -c) unlimited... (6 Replies)
Hello,
Due to one of the storage issue, one of the zone have many services in uninitialized state. I tried to detach/attach zone, but it doesn't help. Possibly, I am not able to get correct service which should be made online first.
Please check and help, what I am supposed to fix here... (4 Replies)