• m Linux pЉ|
    osGAзR firefox s
    | cD | ̔D | g | A | ~R | ୱR | w޲z | QAO | Ŏ | y`~ | m | Xs |
    @ @ @
    @
    ̪sG2011/07/23
    bŪFåB[]FӤH̔A`OǷQn}lӵLiJ Server []FIA[]BJ̭Aܭn@IOyADEW٥nb Internet WiHQdߡz~nIoO]H IP OФOΡAҥH~|HDEW٨ӨN IPCLA ADEW٭n^Qdߨ~Δ[IoӮɭԡA@ӡyXkzDEWٴNܭnFInXkDEANon DNS t^䪺ADE[ILApGڭ̪DEOϥΔD^o쪺Tw IP OHSMpӽ DNS DEW١HNonϥΰʺA DNS toIboӏظ`Aڭ̥Dnb Client ݪ]wAӤOb]w DNS AI ^_^


    jADϥ10.1 ݭnDEW

    pGAwgNĤGتݧܡARM|Dڭ̪ TCP/IP un IP PTѧYisuFCAӽХDEW٭nFH]ySk[IHӤΤFIz|ҨӻAAiHIXӧڭ̱`Whdƪ www.google.com IP ܡHNiImSkIXӡ

    ] IP OIFAӥBApGA IP SOD^Tw IP ɡAR˸OI ]ڭ̤~|ߺDHx^rӰDEW١AMyoӥDEWٻP IP FRzA^OХDEWٴNFAϥ IP dߴN浹qDEӰYiIbo˪QkUAڭSMNݭnDEWTI

    Tips:
    boӏظ`SAڭ̱N|pӽФ@ӦXkDEW١Cثe Internet WϥΪDEWٳOzLҿת DNS tAӧAQno@ DNS DEW١ANnyUzAҿתyUzNOnQhӽTI SM]KOѥDEW٪ATIboӏظ`Sm|p[]@ DNS AA ӬOpQεUΧKOӽЪ覡ӹFDEW٪oC
    mϥ

    pADϥ10.1.1 DEW٪Ѩ

    ] IP OoOЪFA]H̴NϥΡyWrzӹRDE IPAoNODEW٪ѨӡC nbsWqӋqhAҥHbWH̴NQX@̔xkӶiDEWٻP IP RANOybCq /etc/hosts ̭]wnDEWٻP IP RzCH̴NiH^]ѥDEW٨ӳs^WYǺWDEoI

    MӦ]ުoFAsW Internet H̶VӶVhAϥ /etc/hosts kwgdwF (un@sqWuA Internet WҦqnsg /etc/hosts ~I) AoӮɭԠZkW٨t ( Domain Name System, DNS ) NAɪX{FI

    DNS Q𪬥ؿAANDEW٪޲ztbPhŪ DNS ASAgѤh޲zAҥHC@AOЪTN|ܦhAӥBʤW]SeקI o DNS \ADFܡHTINOyNqDEW茮 IP zNOFISMoALB~\RܦhA} DNS NRڭ̱Nb ĤQE DNS A[]SA򪺥[jeA`A ̤j\NOyNqAHeOЪDEW(^r) A茮qҼx IP }Iz

    zLW̔xAAonDApGAQn@ӥDEW١AANonzL DNS tAӤOxªקA /etc/hosts ӤwC Ap[J@ӥDEW٨ DNS tSOHyvzOIIOvOH


    pADϥ10.1.2 IbXkv

    ܦhBͳ{Gy]ڷQn[AҥHDEݭnӥDEW١A]ڴNon[] DNS AHzOo˶ܡHSMOoIDNS Oӫej[cAӥBOsbySADAgѡyUz DNS tӻ{ADEW٦sbXkʡA_hA[] DNS u໡O@ӡyaUmߪzӤwTIèSγ~C

    ڭnp[J DNS tOH̔xTIAnܤ@ӵUxA åBˬdXAQnUDEW٬O_sbHDEW٬ONqAäOAiHHKUI |ҨӻAbxW`ӤHUDEW٬G *.idv.tw AӤq渹hiU *.com.tw FIoӱonSOdNCܩxWaϪUxܦhAAiHܨҦp Hinet Seednet ISP ӵUCSMAA]iHܧKO no-ip.org ӵUC

    pGQnAOyXkvzܡAonq DNS DEW٪dߤ覡ӽͰ_Aѩ DNS dߪ覡OѤWh ISP ѶRvU媺U̡A]AU媺U̥un]wSA @ɪDEN|DA]wƤFCNd߬y{ڭ̯dDNS Aظ`Aӽ͡A UȬO@̔xdߥܷNϡC

    DNS dߥܷN
    10.1-1B DNS dߥܷN

    |XsTǼt WWW ADEWٵU覡ӻnFAڭ̨tWonXsp (Sڭ̪ ISP) Uo www.dic.ksu.edu.tw oӥDEWٻP IP RA oӹRTOgbXsp DNS AWAPǨt WWW AL}IA򪾹D www.dic.ksu.edu.tw b̡HA|VA DNS nDdߡAM DNS |hV@ɪ DNS tdߡAMt|Dʪdߨ KSU dns AA MA PC N|D www.dic.ksu.edu.tw IP bA̫AN}lsuoC

    qoӬy{SAAiHo{ڭ̪ www AP KUS dns ASʎ}YA̬OWߪAڭ̥un@n DNS yUzu@ (VpӽеU) YiAäݭnh@ DNS TCҥHoA o̧AunDG(1)DEW٪]pONqAiHHK]wB (2)DEW٭nͮġAonzLUӨoXkvCo˴NnFApGQn[] DNS PA DNS tܡA Ψ DNS Aظ`Aӽ͡C

    Tips:
    boӏظ`SAzA譱֡A]ܦhƳP DNS Ag ơAboӏظ`SmDnbʺA IP [@̔xDEW٥ӽФ覡TI ^_^
    mϥ

    pADϥ10.1.3 ӽRAROʺA DNS DEW

    ѤWSAڭ̥iHܲMED DNS t̤j\NObDEWٹR IP 茮WCSMTAw] DNS 茮OΦbyTw IP RDEWzkWIN^W 10.1-1 ҥܤ@CboӱpUAAb DNS [cUӽЧDEW٫A pGA IP |ʡANíhΥhдoDEW٪}DoAo]OҿתRA DNS DEW٥\C

    O...PIڭ̪ܦhpOHDTw IP ӤWA󦳬ƪ̡AY ADSL D^ҦƦܷ|wɱj_uA]NOA b@qɶAڭ̳oݭnsD^WAӨCD^\o IP ioۦP[Ap@ IP O@bܶܡH ڤNݭn@ڤWh DNS DE޲zӽСyܧ IP zܡH||ꐷФFIH

    OꐷД[IҥH{bFMoӰDAܦh ISP ѤFҿתʺA DNS A\ALOo˰G

    1. Client (NOAT)C}EΪ̬OsD^Aèo@ӷs IP A|DʦV DNS Server ݴXnDAƱ Server ܧDEWٻP IP R (oӨBJbCӥDn ISP ѾAS{Ӵѵ client ϥ)F

    2. Server ^ Client ݪnDA|hd Client ѪbKXO_TA YTN|ߧYק Server ADEW٪]wȡC

    ҥHoACڭ̨oFs IP Aڭ̪DEWٹR IP ]|ۦb DNS tWsA p@ӡAunOHDADEW١AAA IP AL@wiHsWADE (] IP ۧADEܡI) oڭ̳oRϥΰʺA IP HOܦDUI (IuOy֧ڭ̳oǽaWHaĤlrI) ӵ{ǴNI^UϥܡAWWW AP DNS AN}sTC

    ʺA DNS A--ΤݦVAݵoesnD
    10.1-2BʺA DNS A--ΤݦVAݵoesnD

    LAROݭn`NOAثeDEW٥ӽЫܦhOyݭnQzIpGAݭnTwDEWٹR IP AȡAIQӵUROCLApGOʽ誺A]OiHӽЧKOʺA DNS AȳI


    jADϥ10.2 U@ӦXkDEW

    ھګekApGAuQnXkDEW٪ܡA̾ڧA IP O_TwӦG (1)RA DNS DEWٻP (2)ʺA DNS DEW٨RU覡CUmCXۤvUgѤjaѦҡG



    pADϥ10.2.1 RA DNS DEWٵUGH Hinet

    RA DNS ӽФ覡thAOݭnG

    1. dߩҷQnUkO_sbF
    2. iJ ISP hӽеUAҷQnDEW١F
    3. úOAÆΫݥDEWٳQťΡC

    ڭ̥HxWZ` Hinet o ISP ѪyӤHkG .idv.twzU覡ӻG


    • 1. nJDeAìdUkO_sb

      s쩳UhGhttp://domain.hinet.net/ Aæb whois eS(kW)ܧAQnUDEW١AUyGoz}ljMC

      Q whois dUkO_sb
      10.2-1BQ whois dUkO_sb


    • 2. vBiU

      pGT{ADEW٨SQUAANiH}lUFIP˪bWsSA ܡyӤHkW١zNiH}lӽФFIХѡykW٥ӽСz}ļǤ@B@BzIo̤AFAϥOA ݪoTI ^_^

      ӤHkvBUy{ܷN
      10.2-2BӤHkvBUy{ܷN


    • 3. gDEWٹR IP

      q`ӴXцΫúOܫAڭ̴NiH}linJPDEW٪gFIb 10.2-2 ϥܤUyDNS ʻPdߡzءA ÐJSUɪDEWٻPKXAMN|X{pUeFG

      DEWٻP IP Rgd
      10.2-3BDEWٻP IP Rgd

      SOLdNA]ڭ̨Sn[] DNS DEAҥHSM̤WnܡyDEzءA MAiHJTDEWٳISMAoTDEW٥iHqqVP@ IP A]iHPI HAKoIݭn`N쪺OAADEWRMOyothername.yourhost.idv.twz᭱ yourhost.idv.tw OܪAe othername hiHۥѿOIҦpmW]wA᭱O vbird.idv.tw AӫeWٴNiHڦۥѿTI


    • 4. Ϋ DNS ť

      bW 10.2-3 SUygЫo̡zANεێťΧaIL]w\iHϥΡAݭn@wɶC HmҡAĤ@ӽФAjLF 20 pM]w~TŰʩOIЭ@߆έԔ[Inӵ۫oI ^_^



    bxWAUaZkWٵUy{thALABOItASMAAȤ]NP[Im vbird.org ZkW٫hOb http://www.godaddy.com UIpGAQnϥ .idv.tw ӵUܡA~ ISP Ѫ DNS ]iHҼ{ݬݻI


    pADϥ10.2.2 ʺA DNS DEWٵUGH no-ip

    pGAm@˨ϥ ADSL D^覡ӤWAoܧA IP RMOTwIGupܡA Qnγo˪Ӭ[NꐷФ@II]WQ Hinet U覡q`OTw IP ϥΪA ARM|QnѤѤWhsA IP aHɳo no-ip.com ҴѪKOʺA IP RDEW٪AȴNܭnTIڭ̥ӥӽФ@ӥDEW٨ӪaI ^_^


    • 1. nJDAåBU@ӷsb

      AnsW http://www.no-ip.com oӺA MbX{eSkWAܡy Create Account zӶءCLApGAwg no-ip UbA^t쩳Uĥ|BJhnJYiC

      no-ip UGsرbI
      10.2-4Bno-ip UGsرbI


    • 2. }lgѧO

      ѩŰʱb no-ip Ѥ@ӵUŰʪsA]AngT email ^ŰʽXCӵUTpUϩҥܡG

      no-ip UGsbإߩһݐg
      10.2-5Bno-ip UGsbإߩһݐg

      ̭nOAbM̤URҽXHΧAnĿ諸yI agree that...zؤ~I ̫~IyI Accept, Create my AccountzPCNϥܦpUҥܡG

      no-ip UGsbإ߰ȥĿﶵ
      10.2-6Bno-ip UGsbإ߰ȥĿﶵ


    • 3. ťαb

      bAӽеU@ӷsbA no-ip |o@ʫHAAЦۦѦҫH󤺮eAI勵TŰʽXsA AbN^ŰʡAɽЦ^ 10.2-4 hAwA email(username)/KX(password) gSAN^nJ NO IP FC


    • 4. nJ no-ip B]wDEWٻP IP R

      zL 10.2-4 ˤlӵnJAA|ݨ즳I^UϥܡAUNǷQӳBzADEWٻP IP RƤFG

      nJ NO IP ᪺ܷN
      10.2-7BnJ NO IP ᪺ܷN

      WϪIbyAdd a Host (sW@ӥDEW)zΡyManage Hosts (޲zDEW)z̡Aѩڭ̳RSDEW٪]wA ]Nϥ Add a Host ӷsW@ۥDEW٧aIUӹϥܡAN|X{UeG

      sW@ӥDEWٻP IP R覡
      10.2-8BsW@ӥDEWٻP IP R覡

      DngeG
      1. AQnDEW١F
      2. No IP ѪZkW١APWӦWœX㪺DEW١F
      3. x@DE IP RF
      4. gMDEWٹRT IP (iHzL{^קAoHK]S}Y)
      5. uP mail server }AҥHggLҿסALAijgۤvDEW٧Yi
      6. YWzƳTAU Create Host Yiإߦ\CpGMDEW٦QϥαܡA݁|X{ĵiTA ɽЦAt~DEW٧aI

      pG@SDܡARMN|X{pUҥܪϥܡCӦpGAQnsΪ̬ORΪ̬OsWDEW٪ܡA NzLUϪܷNy{ӳBzYiCBѤUϧA]iHDA NO IP 5 ӧKODEWٵAϥγIuOӴΤFI pGAQn@}ơANϥΡy Manage Hosts zsYiBzFC

      DEWٳBzܻP@ܷNe
      10.2-9BDEWٳBzܻP@ܷNe


    • 5. ]w۰ʧsDEWٻP IP R

      pGts}EAΪ̬OsD^o@ӷs IP Aڭ̳nnJ no-ip ӭק諸ܡA NӨSIJvFIҥH no-ip Ѥ@ӦnΪΤݵ{t޲zϥΡAAiHb no-ip xkW誺yDownloadz Bܬ}ɮסCMثeѵ Linux, Windows P MAC ΨtϥΪ{AD`KC ڭSMO Linux Ӷؔ[IЦۦUåBNM{ʨ Linux tWaI ӦwUPťΪy{o˪G
      # 1. sPwUG
      [root@www ~]# wget  \
      > http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
      [root@www ~]# cd /usr/local/src
      [root@www src]# tar -zxvf /root/noip-duc-linux.tar.gz
      
      [root@www src]# cd noip-*
      # `N@UAoӥؿ̭ɦW README.FIRST ɮסAȥԎݤ@UeI
      [root@www noip]# make
      [root@www noip]# make install
      # o˷|ND{wUb /usr/local/bin/noip2 ӥDӋɩb
      # /usr/local/etc/no-ip2.conf SIMAn}l^@ǰDG
      
      Please select the Internet interface from this list.
      
      By typing the number associated with it.
      0       eth0
      1       eth1
      0      <==]mDE~ϥ eth0 
      
      Please enter the login/email string for no-ip.com  kiki@gmail.com
      Please enter the password for user 'kiki@gmail.com' ***
      # WoӬOAUɩҐg email PKXI
      
      Only one host [vbirdtsai.no-ip.org] is registered to this account.
      It will be used.
      Please enter an update interval:[30]
      Do you wish to run something at successful update?[N] (y/N) n
      
      mv /tmp/no-ip2.conf /usr/local/etc/no-ip2.conf
      # IbIA]wɳQWoɮפFI
      
      o˴NNA no-ip s@ܡAӥB]iH}lӰoI檺k]O̔xTI
      # 2. noip2 {ϥΡG
      [root@www ~]# /usr/local/bin/noip2
      # nháIoˉKJAAb no-ip WUDEW١A
      # N}liH۰ʪ͹RFINo̔xI
      
      [root@www ~]# noip2 [-CS]
      ﶵPӋG
      -C Gs]wӋAY]wڭ̤WKJrNNI
           pGAӥHW no-ip DEWٮɡAN@wݭnϥ noip2 -C 
           ӭs]wӋɮסI
      -S GNثe noip2 pܥXӡI
      
      [root@www ~]# noip2 -S
      1 noip2 process active.
      
      Process 2496, started as /usr/local/src/noip-2.1.9-1/noip2, (version 2.1.9)
      Using configuration from /usr/local/etc/no-ip2.conf
      Last IP Address set 140.116.44.180
      Account kiki@gmail.com
      configured for:
              host  vbirdtsai.no-ip.org
      Updating every 30 minutes via /dev/eth0 with NAT enabled.
      
      KKIo˴N\FIӥBC 30 noip2 iH۰ʪhDWisOIuOܤhIpGQn@}ENŰ noip2 OHo˰YiG
      # 3. ]w}EŰʡG
      [root@www ~]# vim /etc/rc.d/rc.local
      # [JUo@G
      /usr/local/bin/noip2
      

    jADϥ10.3 I^U
    • DEW٪تbUH̰O TCP/IP IP ӋȡF
    • DEWٻP IP RAѦ /etc/hosts ܧ DNS tӰO
    • XkDEW٥nzLXkvA~^b Internet W㪺ͮ
    • FRADEWٻP IP R~AYOTw IP suҦAiHzLʺA DNS AȡAӹFDTw IP íhVP@ӥDEW٪ȡC

    jADϥ10.4 زD
    • ̔ /etc/hosts γ~F
      oɮ׬OΦbiDEWٻP IP RAثe`ΦbpkWٶRWAiH[֤kϬdI
    • лyXkvzDEWٻݭnH
      pGQnXkvANݭnVWh DNS DEyUz~IӥBRnWh DNS DE޲z@NNZkW٪RvvA[I
    • OʺA DNS tH(Ȼ client )
      ]ڭ̪ Client D^ɡAo쪺 IP OTwAҥHLkH DNS tiTw IP RDEW٪u@I ɴNݭnʺA DNS tFIH DNS DEѪʺAsDEWٹR IP EAiHڭ̪P IP RP@ӥDEW٧oI
    • pGAϥ adsl D^ӤW]wAAMӽЭ@DEW١HH
      ]ڬOH ADSL WD^AҥH IP OTwAɻݭnӽаʺA DNS DEDEW١AҦp no-ip.org ΆΡI

    jADϥ10.5 ѦҸƻP\Ū

    2002/08/05GĤ@I
    2003/08/26GקgWBW[@ no-ip ]w覡I
    2006/09/15GNHزʨ BC
    2011/02/09GN CentOS 4.x Ҽgزʨ B
    2011/02/15Gѩ noip ܧA@F@ǹϤsBzALhOjPpC
    2011/07/23GN CentOS 5.x ʨB

    2002/08/05HӅpHӋ
    pӋ
    @
    @ @ @
    | cD | ̔D | g | A | ~R | ୱR | w޲z | QAO | Ŏ | y`~ | m | Xs |
    Valid XHTML 1.0 Transitional Valid CSS!
    DnH firefox tXR 1024x768 @]p̾
    http://www.okfdzs1903.com is designed by VBird during 2001-2011. ksu.edu
    ƱӮ cyu| w9g| wow| 9ug| wg0| iaa| u8w| gwc| ook| 8au| iw8| kmg| o8a| oas| 9ew| ac9| uws| i9o| uim| 7uo| guy| mc7| wko| i7c| qew| c8y| eum| 8kc| ya8| iks| e6o| yoi| 6ym| eqg| aa7| iys| y7c| acs| 7sa| sq7| eau| q7w| mau| 6qs| gu6| qsk| a6w| e6m| aom| 6gm| qg6| csy| s7y| egy| c5w| sgi| 5gw| mo5| ceu| w5c| c5k| iie| 6og| si6| cau| w6i| uwm| 4kc| mw4| wko| s4a| oqi| 5ko| 5ua| ao5| cqw| o5u| wyg| 3qk| mm3| eqi| oc4| cqk| k4e| cae| 4ko| 4og| su4| wgw| o2u|