1
這裡允許您檢視這個會員的所有文章。請注意, 您只能看見您有權限閱讀的文章。
++
|
| p-port
+------------------+------------------+
| |
| |
| |
+-------+-----+----------------+------+
| | |
i-port| | i-port | i-port
| | |
| | |
| + |
+ |
+--+--+
| |
| | wifi AP
+-----+
2. 在上述規則,可以改成這樣嗎?
iptables -I INPUT -i ppp0 -p TCP --syn -j DROP
iptables -I FORWARD -i ppp0 -p TCP --syn -j DROP
或者可以改成一條嗎?
iptables -I PREROUTING -i ppp0 -p TCP --syn -j DROP
反正我NAT SERVER和內部的PC都拒絕 外來主動連線連線
請教各位前輩
我想要更新動態DNS的MX紀錄,
但是範例 "prereq" 這是怎樣的功能?
prereq yxrrset domain name type [rdata]
Makes the existence of an RRset of type type owned by domain name
a prerequisite to performing the update
prereq nxrrset
Makes the non-existence of an RRset of type type owned by domain
name a prerequisite to performing the update specified in successive
update commands
prereq yxdomain domain name
Makes the existence of the domain name specified a prerequisite to
performing the update
prereq nxdomain
Makes the non-existence of the domain name specified a prerequisite
to performing the update
update delete domain name [type] [rdata]
Deletes the domain name specified or, if type is also specified,
deletes the RRset specified or, if rdata is also specified, deletes the
record matching domain name, type, and rdata
update add domain name ttl [class] type rdata
Adds the record specified to the zone. Note that the TTL, in addition to
the type and resource-record-specific data, must be included, but the
class is optional, and defaults to IN
So, for example, the command:
% nsupdate
> prereq nxdomain dakota.west.acmebw.com.
> update add dakota.west.acmebw.com. 333 in a 192.168.0.4
>
tells the server to add an address for dakota.west.acmebw.com only if the domain name does not already exist. Note that the last blank line is nsupdate's cue to send the update.
The command:
% nsupdate
> prereq yxrrset dakota.west.acmebw.com. in mx
> update delete dakota.west.acmebw.com. in mx
> update add dakota.west.acmebw.com. in mx 10 dakota.west.acmebw.com.
> update add dakota.west.acmebw.com. in mx 50 store-forward.mindspring.com.
>
http://216.239.35.100/search?q=cache:4YDGbbswAtgC:hr.uoregon.edu/davidrl/misc/NetworkingBookshelf/dnsbind/ch10_03.htm+nsupdate+,+mx&hl=zh-TW&ie=UTF-8
named.conf
--------------------------------------------------------
zone "181.90.223.61.in-addr.arpa" IN {
type master;
file "181.90.223.61.rev";
};
各位前輩
我看了netman大師 dns的那篇文章,是用一個網段來做例子
那我的adsl只有一個ip,那這樣的設定可以嗎?
181.90.223.61.rev
---------------------------------------------------------
$TTL 86400
@ IN SOA dns.test.org.tw. root.dns.test.org.tw. (
2001111601 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
@ IN NS dns.test.org.tw.
181.90.223.61.in-addr.arpa. IN PTR dns.test.org.tw.
請問各位高手,這是啥問題
用outlook寄信出現
無法傳送郵件,因為某位收件者被伺服器拒絕。
被拒絕的電子郵件地址是 'aaaa@ms1.hinet.net"。 主旨 '111', 帳戶: 'abc.efg.qw',
伺服器: 'abc.efg.qw', 通訊協定: SMTP, 伺服器回應: '550 5.7.1
... Relaying denied', 連接埠: 25, 安全(SSL): 否, 伺服器錯誤: 550, 錯誤碼: 0x800CCC79
-------------------------------------
但
telnet 到主機去寄信---ok
用outlook寄到自己主機內的一個帳號----ok
於dns的觀念,請教各位高手..
在twnic已註冊domain--->abc.com.tw
ping http://www.abc.com.tw ------OK!
ping ftp.abc.com.tw ------OK!
server -->red hat 7.1
/etc/hosts
127.0.0.1 localhost.localdomain localhost
xxx.xxx.22.222 abc.com.tw abc
xxx.xxx.22.222 http://www.abc.com.tw www
xxx.xxx.22.222 ftp.abc.com.tw ftp
/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=abc.com.tw
GATEWAY="xxx.xxx.22.254"
GATEWAYDEV="eth0"
FORWARD_IPV4="yes"
/etc/resolv.conf
domain abc.com.tw
search abc.com.tw http://www.abc.com.tw ftp.abc.com.tw
nameserver 168.95.1.1
nameserver 168.95.192.1
apache 還沒裝
sendmail 8.11.2
DNS(bind) 沒裝
請問
1.TWNIC的dns server不是已幫我domain指向ip
可以 telnet domain
ftp domain
但sendmail可以寄出,卻收不到外面來的信,why??
2.一定要裝bind才可收信嗎??
3.上面的一些設定是不是多此一舉