📄 dnamerecord.java
字号:
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)package org.xbill.DNS;/** * DNAME Record - maps a nonterminal alias (subtree) to a different domain * * @author Brian Wellington */public class DNAMERecord extends SingleNameBase {DNAMERecord() {}RecordgetObject() { return new DNAMERecord();}/** * Creates a new DNAMERecord with the given data * @param alias The name to which the DNAME alias points */publicDNAMERecord(Name name, int dclass, long ttl, Name alias) { super(name, Type.DNAME, dclass, ttl, alias, "alias");}/** * Gets the target of the DNAME Record */public NamegetTarget() { return getSingleName();}/** Gets the alias specified by the DNAME Record */public NamegetAlias() { return getSingleName();}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -