public class DNSRecordParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PARSE_ANAME_USAGE |
static String |
PARSE_MX_USAGE |
static String |
PARSE_SOA_USAGE |
| Constructor and Description |
|---|
DNSRecordParser()
Default empty constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.xbill.DNS.ARecord |
parseANAME(String[] args)
Converts A record configuration information to an ARecord
|
org.xbill.DNS.MXRecord |
parseMX(String[] args)
Converts MX record configuration information to an MXRecord
|
org.xbill.DNS.SOARecord |
parseSOA(String[] args)
Converts SAO record configuration information to an SOARecord
|
public static final String PARSE_ANAME_USAGE
public static final String PARSE_SOA_USAGE
public static final String PARSE_MX_USAGE
public org.xbill.DNS.ARecord parseANAME(String[] args)
args - The A record configuration parameters.public org.xbill.DNS.SOARecord parseSOA(String[] args)
args - The SOA record configuration parameters.public org.xbill.DNS.MXRecord parseMX(String[] args)
args - The MX record configuration parameters.Copyright © 2010-2015 The Direct Project. All Rights Reserved.