日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

DDNS For RHEL5

發布時間:2023/12/15 编程问答 24 豆豆
生活随笔 收集整理的這篇文章主要介紹了 DDNS For RHEL5 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
實驗環境: RHEL5 DNS Server 1臺? IP:10.0.0.114/8 RHEL5 DHCP Server 1臺? IP:10.0.0.150/8 Windows 客戶端一臺 因為只備忘,不是指導作業,固執給出主配置文件<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

DNSServer

/var/named/chroto/etc/named.conf --------à文件修改如下:

key Bhanv {

??????? algorithm hmac-md5;

??????? secret QdShv7aM16UxJo7Bb0GYYw==;

};

options {

??????? listen-on port 53 { 127.0.0.1; any;};

??????? listen-on-v6 port 53 { ::1; };

??????? directory?????? "/var/named";

??????? dump-file?????? "/var/named/data/cache_dump.db";

??????? statistics-file "/var/named/data/named_stats.txt";

??????? memstatistics-file "/var/named/data/named_mem_stats.txt";

???? ???// Those options should be used carefully because they disable port

??????? // randomization

??????? // query-source??? port 53;

??????? // query-source-v6 port 53;

??????? allow-query???? { localhost; any;};

??????? allow-query-cache { localhost; };

};

logging {

??????? channel default_debug {

??????????????? file "data/named.run";

??????????????? severity dynamic;

??????? };

};

view localhost_resolver {

??????? match-clients????? { localhost;any; };

??????? match-destinations { localhost;};

??????? recursion yes;

??????? zone "yema.com" IN {

??????? type master;

??????? file "yema.zone";

??????? allow-update { key Bhanv;

};

??????? };

??????? zone "0.0.10.in-addr.arpa" IN {

??????? type master;

??????? file "yema.local";

??????? allow-update { keyBhanv; };

??????? };

};

?

DHCP Server

/etc/dhcpd.conf???????????? ------------à文件顯示如下:

ddns-update-style interim;

ignore client-updates;

key Bhanv {

??????? algorithm hmac-md5;

??????? secret QdShv7aM16UxJo7Bb0GYYw==;

};

zone yema.com.{

????? primary 10.0.0.114;??

????? key Bhanv;

??????? }

zone 0.0.10.in-addr.arpa. {

???????? primary 10.0.0.114;

???????? key? Bhanv;

}

subnet 10.0.0.0 netmask 255.0.0.0 {

# --- default gateway

#?????? option routers????????????????? 192.168.0.1;

#?????? option subnet-mask????????????? 255.255.255.0;

?

#?????? option nis-domain?????????????? "domain.org";

??????? option domain-name????????????? "yema.com";

??????? option domain-name-servers????? 10.0.0.114;

??????? option time-offset????????????? -18000; # Eastern Standard Time

#?????? option ntp-servers????????????? 192.168.1.1;

#?????? option netbios-name-servers???? 192.168.1.1;

# --- Selects point-to-point node (default is hybrid). Don't change this unless

# -- you understand Netbios very well

#?????? option netbios-node-type 2;

?????? range dynamic-bootp 10.0.0.5 10.0.0.7;

??????? default-lease-time 21600;

??????? max-lease-time 43200;

#?????? # we want the nameserver to appear at a fixed address

#?????? host ns {

#?????????????? next-server marvin.redhat.com;

#?????????????? hardware ethernet 12:34:56:78:AB:CD;

#?????????????? fixed-address 207.175.42.254;

#?????? }

}

具體怎樣做詳細看MAN dhcpd.conf 文檔 ? 客戶端驗正結果: ?

C:\>hostname

04-13

C:\>ipconfig /renew

Windows IP Configuration

Ethernet adapter VMware Network Adapter VMnet1:

??????? Connection-specific DNS Suffix? . : yema.com

??????? IP Address. . . . . . . . . . . . : 10.0.0.7

??????? Subnet Mask . . . . . . . . . . . : 255.0.0.0

??????? Default Gateway . . . . . . . . . :

C:\>nslookup

Default Server:? server.yema.com

Address:? 10.0.0.114

> ls yema.com

[server.yema.com]

?yema.com.????????????????????? NS???? server = yema.com

?yema.com.????????????????????? A????? 10.0.0.114

?04-13????????????????????????? A????? 10.0.0.7

?www??????????????????????????? A????? 10.0.0.115

今天是我人生最難受的一天,想用知識麻醉自己,最后還是在blog上給自己留點東西把,域名用所在學校,表示一種感激吧.

轉載于:https://blog.51cto.com/bhanv/291182

總結

以上是生活随笔為你收集整理的DDNS For RHEL5的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。