private void encodePtrRecord(DnsPtrRecord record, ByteBuf out) throws Exception { encodeRecord0(record, out); encodeName(record.hostname(), out); }
private void encodePtrRecord(DnsPtrRecord record, ByteBuf out) throws Exception { encodeRecord0(record, out); encodeName(record.hostname(), out); }
private Object store(DnsCacheEntry value) { if (value.answserRr != null && value.answserRr instanceof DnsPtrRecord) { // DNS responses end the query with a ., substring removes it. DnsPtrRecord ptr = (DnsPtrRecord) value.answserRr; return ptr.hostname().substring(0, ptr.hostname().length() - 1); } else { return FieldsProcessor.RUNSTATUS.FAILED; } }
private void encodePtrRecord(DnsPtrRecord record, ByteBuf out) throws Exception { encodeRecord0(record, out); encodeName(record.hostname(), out); }
private void encodePtrRecord(DnsPtrRecord record, ByteBuf out) throws Exception { encodeRecord0(record, out); encodeName(record.hostname(), out); }
private void encodePtrRecord(DnsPtrRecord record, ByteBuf out) throws Exception { encodeRecord0(record, out); encodeName(record.hostname(), out); }