/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
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])); }
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])); }