i need to read etc/named.conf file , and get the domains i want just the domains , and Order the domains line up line
zone "example.org" {
type master;
file "/var/named/example.org.db";
};
zone "example.com" {
type master;
file "/var/named/example.com.db";
};
};
i want the output like :
example.org
example.com
and i want to add this domains in www.who.is in a cgi-bin script and the output like :
example.org : www.who.is/example.org
example.com : www.who.is/example.com
i wait you
thanks to you and thanks to all users and thanks for stackoverflow.com