本文整理了Java中org.xbill.DNS.Record.newRecord
方法的一些代码示例,展示了Record.newRecord
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Record.newRecord
方法的具体详情如下:
包路径:org.xbill.DNS.Record
类名称:Record
方法名:newRecord
暂无
代码示例来源:origin: dnsjava/dnsjava
/**
* Inserts a prerequisite that the specified name exists; that is, there
* exist records with the given name in the zone.
*/
public void
present(Name name) {
newPrereq(Record.newRecord(name, Type.ANY, DClass.ANY, 0));
}
代码示例来源:origin: dnsjava/dnsjava
/**
* Inserts a prerequisite that the specified rrset exists; that is, there
* exist records with the given name and type in the zone.
*/
public void
present(Name name, int type) {
newPrereq(Record.newRecord(name, type, DClass.ANY, 0));
}
代码示例来源:origin: dnsjava/dnsjava
/**
* Indicates that all records with the given name and type should be deleted
* from the zone.
*/
public void
delete(Name name, int type) {
newUpdate(Record.newRecord(name, type, DClass.ANY, 0));
}
代码示例来源:origin: dnsjava/dnsjava
/**
* Indicates that all records with the given name should be deleted from
* the zone.
*/
public void
delete(Name name) {
newUpdate(Record.newRecord(name, Type.ANY, DClass.ANY, 0));
}
代码示例来源:origin: dnsjava/dnsjava
/**
* Inserts a prerequisite that the specified name does not exist; that is,
* there are no records with the given name in the zone.
*/
public void
absent(Name name) {
newPrereq(Record.newRecord(name, Type.ANY, DClass.NONE, 0));
}
代码示例来源:origin: dnsjava/dnsjava
/**
* Inserts a prerequisite that the specified rrset does not exist; that is,
* there are no records with the given name and type in the zone.
*/
public void
absent(Name name, int type) {
newPrereq(Record.newRecord(name, type, DClass.NONE, 0));
}
代码示例来源:origin: org.littleshoot/dnsjava
/**
* Inserts a prerequisite that the specified rrset does not exist; that is,
* there are no records with the given name and type in the zone.
*/
public void
absent(Name name, int type) {
newPrereq(Record.newRecord(name, type, DClass.NONE, 0));
}
代码示例来源:origin: org.littleshoot/dnsjava
/**
* Indicates that all records with the given name should be deleted from
* the zone.
*/
public void
delete(Name name) {
newUpdate(Record.newRecord(name, Type.ANY, DClass.ANY, 0));
}
代码示例来源:origin: net.sf.dnsjava-osgi/dnsjava-osgi
/**
* Inserts a prerequisite that the specified rrset exists; that is, there
* exist records with the given name and type in the zone.
*/
public void
present(Name name, int type) {
newPrereq(Record.newRecord(name, type, DClass.ANY, 0));
}
代码示例来源:origin: net.sf.dnsjava-osgi/dnsjava-osgi
/**
* Inserts a prerequisite that the specified rrset does not exist; that is,
* there are no records with the given name and type in the zone.
*/
public void
absent(Name name, int type) {
newPrereq(Record.newRecord(name, type, DClass.NONE, 0));
}
代码示例来源:origin: org.littleshoot/dnsjava
/**
* Inserts a prerequisite that the specified rrset exists; that is, there
* exist records with the given name and type in the zone.
*/
public void
present(Name name, int type) {
newPrereq(Record.newRecord(name, type, DClass.ANY, 0));
}
代码示例来源:origin: tiandawu/IotXmpp
/**
* Inserts a prerequisite that the specified rrset does not exist; that is,
* there are no records with the given name and type in the zone.
*/
public void
absent(Name name, int type) {
newPrereq(Record.newRecord(name, type, DClass.NONE, 0));
}
代码示例来源:origin: net.sf.dnsjava-osgi/dnsjava-osgi
/**
* Inserts a prerequisite that the specified name exists; that is, there
* exist records with the given name in the zone.
*/
public void
present(Name name) {
newPrereq(Record.newRecord(name, Type.ANY, DClass.ANY, 0));
}
代码示例来源:origin: net.sf.dnsjava-osgi/dnsjava-osgi
/**
* Inserts a prerequisite that the specified name does not exist; that is,
* there are no records with the given name in the zone.
*/
public void
absent(Name name) {
newPrereq(Record.newRecord(name, Type.ANY, DClass.NONE, 0));
}
代码示例来源:origin: net.sf.dnsjava-osgi/dnsjava-osgi
/**
* Indicates that all records with the given name and type should be deleted
* from the zone.
*/
public void
delete(Name name, int type) {
newUpdate(Record.newRecord(name, type, DClass.ANY, 0));
}
代码示例来源:origin: net.sf.dnsjava-osgi/dnsjava-osgi
/**
* Indicates that all records with the given name should be deleted from
* the zone.
*/
public void
delete(Name name) {
newUpdate(Record.newRecord(name, Type.ANY, DClass.ANY, 0));
}
代码示例来源:origin: org.littleshoot/dnsjava
/**
* Inserts a prerequisite that the specified name does not exist; that is,
* there are no records with the given name in the zone.
*/
public void
absent(Name name) {
newPrereq(Record.newRecord(name, Type.ANY, DClass.NONE, 0));
}
代码示例来源:origin: org.littleshoot/dnsjava
/**
* Indicates that all records with the given name and type should be deleted
* from the zone.
*/
public void
delete(Name name, int type) {
newUpdate(Record.newRecord(name, type, DClass.ANY, 0));
}
代码示例来源:origin: undera/jmeter-plugins
protected Record getRecord(String recstr) {
String[] fields = recstr.split(SPACE);
if (fields.length != 3) {
throw new IllegalArgumentException("Wrong DNS query string: " + recstr);
}
return Record.newRecord(Name.fromConstantString(fields[0]), Type.value(fields[1]), DClass.value(fields[2]));
}
代码示例来源:origin: kg.apc/jmeter-plugins-extras-libs
protected Record getRecord(String recstr) {
String[] fields = recstr.split(SPACE);
if (fields.length != 3) {
throw new IllegalArgumentException("Wrong DNS query string: " + recstr);
}
return Record.newRecord(Name.fromConstantString(fields[0]), Type.value(fields[1]), DClass.value(fields[2]));
}
内容来源于网络,如有侵权,请联系作者删除!