📄 nsrecord.java
字号:
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)package org.xbill.DNS;/** * Name Server Record - contains the name server serving the named zone * * @author Brian Wellington */public class NSRecord extends SingleCompressedNameBase {NSRecord() {}RecordgetObject() { return new NSRecord();}/** * Creates a new NS Record with the given data * @param target The name server for the given domain */publicNSRecord(Name name, int dclass, long ttl, Name target) { super(name, Type.NS, dclass, ttl, target, "target");}/** Gets the target of the NS Record */public NamegetTarget() { return getSingleName();}public NamegetAdditionalName() { return getSingleName();}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -