Articles of 域名系统

使用sed更改区域文件

我有这个DNS区域文件,我无法将资源loggingtypesA更改为CNAME @ IN SOA ns1.domain.com. webdev.domain.com. ( 2006080101 ; serial 8H ; refresh 2H ; retry 1W ; expire 4h) ; minimum ttl NS ns1.domain.com domain.com A 192.168.0.1 mail2 A 192.168.0.2 www CNAME domain.com webmail CNAME www sed -i 's/A/CNAME/g' dns-zone.file 上面的sed语句将A资源logging更改为CNAME,但CNAME也更改为CNCNAMEME .. 如何更改只有A资源logging而不更改任何其他string?

子域DNS不起作用

我有一个域名注册Godaddy。 它具有“www”的通配符CNAME。 我试图做一个sudbomain:mysubdomain.mysite.com。 但是,外部DNS似乎并不是路由。 在IIS中,我只需要绑定一个“www.mysubdomain.mysite.com”,全部是IPS。 我是否需要为每个子域设置显式的cname条目?

pptpd主要工作,但奇怪的互联网/ DNS行为

我运行的是Centos 6.4,而且我大部分都是使用pptpd。 我从Windows 7计算机连接,一旦连接,我可以访问所有的Intranet站点以及已经打开或最近打开的站点,如google.com。 我无法访问的是新网站(例如,当我尝试连接到serverfault),所以我认为这是相关的DNS。 我已经能够通过他们的IP访问几个站点,但是大多数似乎将IPredirect到域名,然后失败。 从cmd,我可以ping新的网站,所以它是解决在那里的DNS。 命令行是通过局域网parsingDNS的,而Chrome试图通过VPN来完成? 我search了许多论坛和博客寻找答案,但还没有发现任何东西,为我解决这个问题。 我试过禁用selinux和iptables(都是非持久性的),只是为了减lessvariables的数量。 可能相关:这些行不断显示在/ var / log / messages中 GRE: read(fd=7,buffer=6097c0,len=8260) from network failed: status = -1 error = Protocol not available CTRL: GRE read or PTY write failed (gre,pty)=(7,6) 这里有一些configuration文件可能是相关的确定什么是错的: pptpd.conf ppp /usr/sbin/pppd option /etc/ppp/options.pptpd logwtmp remoteip 192.168.16.36-49 #these are reserved, not used by dhcp localip 192.168.16.35 […]

NameVirtualHosts和IP地址的configuration

所以我有site1.com和192.168.1.100 如果我使用IP地址Apache不适用于site1.com,如果我使用site1.com IP地址不起作用。 思考? 我可以得到吗? 我需要访问IP和site1.com,并让他们指向不同的目录(不同的项目) Site1.com #NameVirtualHost site1.com:80 <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /home/www/site1.com/current/web ServerName site1.com ServerAlias site1.com <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/site1.com/current/web/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ErrorLog ${APACHE_LOG_DIR}/app_error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. […]

在TCPnetworking上检测到重复的名称

我在服务器上安装了带有两个NIC的域控制器和DNS。 两个NIC在同一个子网中都有自己独立的IP地址,而且没有组合在一起。 两个IP地址都在DNS中注册,我发现他们在正向和反向查找区域。 一切正常工作除了在事件日志中的以下错误。 "A duplicate name has been detected on the TCP network……" 我意识到这是因为第二个网卡。 我的问题是 如果我禁用第二个NIC,那么与第二个IP地址关联的DNSlogging会发生什么情况? 如何删除已禁用的NIC的所有DNS? 有一条logging,一些logging的名称(与父文件夹相同),PTRlogging可能更多。 我如何禁用第二个NIC并删除所有关联的DNS recoreds? 请帮忙。

改变了ISP的,并得到一个新的IP块。 我需要在内部DNS做什么?

昨天晚上,我从思科ASA 500上拔掉了旧的6Meg绑定的T1,并将ASA与我们的新的公共IP地址和网关一起configuration,用于从另一ISP提供的新的10Meg服务。 近10年来我们不必更换ISP。 我成功configuration了防火墙,新的networking服务立即上线。 进入并确保访问列表正确后,我检查了我的DNS服务器。 我只能在13.xxx.63.in-addr.arpa下find反向查找区下的旧IP地址的一些引用(13.xxx.63是我们的旧IP的前3个段)。 有4个静态的PTRlogging引用我们的邮件服务器,但是我不能编辑它们。 是否需要使用我们的新IP(xx.xxx.xx.in-addr.arpa)在反向查找区域中创build一个新区域? 我们的交换现场托pipe,我的MXlogging更新很快。 有什么我需要做的DNS? 谢谢!

DNSlogging中的必需条目

为内部写一个简短的最佳实践技术文档。 主机名/ IP映射的A Records (空白).mydomain.com来 www.mydomain.com * .mydomain.com – 也可以添加子域名,ftp,cpanel等,这取决于设置 MX Records (如果在此域发送和/或接收电子邮件) NS & SOA records服务器 TXT & possibly CNAME进行SPF / DKIMauthentication,具体取决于设置和需要 是否有任何应该添加到大多数logging集的DNSlogging丢失? 任何更改或添加?

没有胶水,DNS服务器如何知道名称服务器的IP?

域rspb.org.uk有名称服务器 ns1.namecity.com. ['62.128.193.35'] (NO GLUE) [TTL=172800] ns2.namecity.com. ['84.22.161.171'] (NO GLUE) [TTL=172800] 并在网站intoDNS,有这样的警告: The parent nameserver ns1.nic.uk is not sending out GLUE for every nameservers listed, meaning he is sending out your nameservers host names without sending the A records of those nameservers. It's ok but you have to know that this will require an extra […]

我的域是不可见的世界

我怎样才能使我自己托pipe的域名可见世界? 问题详情: 我有一个不可见的域名donotrape.me 。 我的系统是Debian 7 64BIT,Bind9,Apache 。 Debian防火墙处于默认模式(closures,我想是这样(参考: https : //wiki.debian.org/DebianFirewall )),端口80打开并转发到192.168.1.2 named.conf如下: zone "donotrape.me" { type master; file "/etc/bind/zones/e.donotrape.me"; }; 区域文件文件如下: ;; file: /etc/bind/zones/e.donotrape.me ;; domain: donotrape.me $TTL 86400 donotrape.me IN SOA NS1.IMSINGH.COM. ROOT.IMSINGH.COM. ( 20130703021 ;Serial 3600 ;Refresh 1800 ;Retry 604800 ;Expire 86400 ;Minimum TTL ) donotrape.me IN NS NS1.IMSINGH.COM. donotrape.me IN […]

postfix在iptables设置后不起作用

这是我的问题: # iptables -P INPUT DROP # host -t mx gmail.com ;; connection timed out; no servers could be reached # iptables -P INPUT ACCEPT # host -t mx gmail.com gmail.com mail is handled by 20 alt2.gmail-smtp-in.l.google.com. gmail.com mail is handled by 5 gmail-smtp-in.l.google.com. gmail.com mail is handled by 40 alt4.gmail-smtp-in.l.google.com. gmail.com mail is handled […]