Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

getdnskeys(1p) [debian man page]

GETDNSKEYS(1p)						User Contributed Perl Documentation					    GETDNSKEYS(1p)

NAME
getdnskeys - Manage lists of DNSKEYs from DNS zones SYNOPSIS
getdnskeys [-i file] [-o file] [-k] [-T] [-t] [-v] [zones] DESCRIPTION
getdnskeys manages lists of DNSKEYs from DNS zones. It may be used to retrieve and compare DNSKEYs. The output from getdnskeys may be included (directly or indirectly) in a named.conf file. OPTIONS
getdnskeys takes the following options: -i path Reads path as a named.conf with which to compare key lists. -k Only looks for Key Signing Keys (KSKs); all other keys are ignored. -o file Writes the results to file. -T Checks the current trusted key list from named.conf. -t Encloses output in needed named.conf syntax markers. -v Turns on verbose mode for additional output. -Version Displays the version information for getdnskeys and the DNSSEC-Tools package. -h Gives a help message. EXAMPLES
This getdnskeys will retrieve the KSK for example.com: getdnskeys -o /etc/named.trustkeys.conf -k -v -t example.com This getdnskeys will check saved keys against a live set of keys: getdnskeys -i /etc/named.trustkeys.conf -T -k -v -t This getdnskeys will automatically update a set of saved keys: getdnskeys -i /etc/named.trustkeys.conf -k -t -T -v -o /etc/named.trustkeys.conf SECURITY ISSUES
Currently this does not validate new keys placed in the file in any way, nor does it validate change over keys which have been added. It also does not handle revocation of keys. It should prompt you before adding a new key so that you can always run the auto-update feature. perl v5.14.2 2012-06-21 GETDNSKEYS(1p)

Check Out this Related Man Page

NAMED-CHECKCONF(8)						       BIND9							NAMED-CHECKCONF(8)

NAME
named-checkconf - named configuration file syntax checking tool SYNOPSIS
named-checkconf [-h] [-v] [-j] [-t directory] {filename} [-p] [-z] DESCRIPTION
named-checkconf checks the syntax, but not the semantics, of a named configuration file. The file is parsed and checked for syntax errors, along with all files included by it. If no file is specified, /etc/named.conf is read by default. Note: files that named reads in separate parser contexts, such as rndc.key and bind.keys, are not automatically read by named-checkconf. Configuration errors in these files may cause named to fail to run, even if named-checkconf was successful. named-checkconf can be run on these files explicitly, however. OPTIONS
-h Print the usage summary and exit. -t directory Chroot to directory so that include directives in the configuration file are processed as if run by a similarly chrooted named. -v Print the version of the named-checkconf program and exit. -p Print out the named.conf and included files in canonical form if no errors were detected. -z Perform a test load of all master zones found in named.conf. -j When loading a zonefile read the journal if it exists. filename The name of the configuration file to be checked. If not specified, it defaults to /etc/named.conf. RETURN VALUES
named-checkconf returns an exit status of 1 if errors were detected and 0 otherwise. SEE ALSO
named(8), named-checkzone(8), BIND 9 Administrator Reference Manual. AUTHOR
Internet Systems Consortium COPYRIGHT
Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC") Copyright (C) 2000-2002 Internet Software Consortium. BIND9 June 14, 2000 NAMED-CHECKCONF(8)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

files of dns server

hello friends I installed sun solaris 8 for x86 pc, and I want know where is the files of configuration (path), the name of files, and the named of daemon. example: /etc/named.conf and the zones is /var/named, and the daemon is named....it's in linux system. I need want only the name of files,... (2 Replies)
Discussion started by: themask
2 Replies

2. Windows & DOS: Issues & Discussions

DOS Keys not working

Hi, In my MSDOS version on windows'98, many keys are not working. I feel that my version is old and I wnt to update it. Can anyone tell me how can i do so. Please tell me soon. Thanks a lot. -Kinnaree :confused: (1 Reply)
Discussion started by: kinnaree
1 Replies

3. IP Networking

DNS questions.

We're running Bind version 8.1.2 on Solaris. How do you flush the DNS cache? Also, I see the files named.boot and named.conf in /etc. Do I need both of these files? I've read that named.boot is for Bind version 4x, and that named.conf is for Bind version 8.x and greater. Our resolv.conf file... (2 Replies)
Discussion started by: Westy564
2 Replies

4. Solaris

DNS Problem

hello !!! I have some problem for Sun Solaris DNS i already configured named.boot , named.rev, named.hosts but when i start the DNS service there is an error " error cannot find named.conf " in my manual there is no named.conf configuration it said that if you configure named.boot... (3 Replies)
Discussion started by: giancarlodjabon
3 Replies

5. UNIX for Dummies Questions & Answers

can't find named.conf to configuration DNS

Help me! I have problem. I can't find named.conf file in /etc (Solaris 5.6,SPRAC) Please! (1 Reply)
Discussion started by: nghia77
1 Replies

6. Linux

DNS unable to set up!!

Hi Experts, I am a newbie like in Linux world, practising Fedora Linux on VMWare but DNS is never set up: Below are my conf files: 1. named.conf options { directory "/var/named"; /* * If there is a firewall between you and nameservers you want * to talk... (4 Replies)
Discussion started by: vikasdh
4 Replies

7. Solaris

t2000 DNS issue

I have an issue with DNS on a solaris t2000 When I set up the zones there was an issue with the /etc/resolv.conf, I had made a typo in my DNS server. I only noticed this after creating my new zones. I have corrected this in the global zone and I am now able to ping and nslookup inthe... (2 Replies)
Discussion started by: james dewitt
2 Replies

8. Shell Programming and Scripting

seeking help with perl to read named.conf

Hello, I am seeking help with someone with perl expertise that can create me a script that will read a named.conf file and create a csv or a text file on each of the zones that the named.conf contains. An excerpt of named.conf looks like: acl "our_nets" { 127.0.0.1/32; ... (2 Replies)
Discussion started by: richsark
2 Replies

9. Shell Programming and Scripting

Retrieve all DNS zones (domains) from local server

Hello, I am trying to retrieve all DNS zones from the local bind server without parsing the /var/named folder, removing .db from the zone file names and the special zones files. I am looking for some kind of named, dig etc command that would retrieve all domains from the server eventually with... (2 Replies)
Discussion started by: AndyB78
2 Replies

10. Shell Programming and Scripting

how to read the contents of two files line by line and compare the line by line?

Hi All, I'm trying to figure out which are the trusted-ips and which are not using a script file.. I have a file named 'ip-list.txt' which contains some ip addresses and another file named 'trusted-ip-list.txt' which also contains some ip addresses. I want to read a line from... (4 Replies)
Discussion started by: mjavalkar
4 Replies

11. UNIX for Advanced & Expert Users

error starting named service in CentOS

Hi Guys, I am configuring DNS BIND server I am getting following error, can someone please help ...below is my complete /etc/named.caching-nameserver.conf file :- # service named restart Stopping named: Starting named: Error in named... (1 Reply)
Discussion started by: patibandlavinay
1 Replies

12. Shell Programming and Scripting

Need assistance with an IF statement to compare a list of SHA keys between two repositories.

Hello. My first time here. What I am trying to do is this. FileA is located on a web server FileB is located on local storage Both files contain a large list of information of not only SHA keys but versions, and other information. I need a statement that can compare between FileA... (5 Replies)
Discussion started by: Query
5 Replies