DNS zakonisht menaxhohet nga kompania qė tė jep Internetin (ISP). Kompjuteri yt konfigurohet tė pyesė ISP pėr adresėn IP tė ēdo adresė qė ti hap nė Internet. Pėr shembull, nė ēastin qė ti shtyp adresėn forumishqiptar.com, kompjuteri yt i kėrkon ISP-sė adresėn IP e cila nė kėte rast ėshtė 69.39.226.126.
Pėr tė parė nėse konfigurimi i kompjuterit tėnd ėshtė i saktė, pėrdor komandėn ipconfig /all nė njė dritare DOS-i. IP-ja e DNS duhet t'i pėrkasė ISP-sė. Nėse lidhesh nė Internet nėpėrmjet njė routeri, IP e DNS mund t'i pėrkasė routerit.
Kodi:
C:\Documents and Settings>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : Aragorn
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter interneti:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Broadcom 440
#2
Physical Address. . . . . . . . . : 00-02-03-11-04-56
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
Windows i mban mend adresat IP tė faqeve qė hap me qėllim qė t'i hapė mė shpejt herėn e dytė, tė tretė, etj. Pėr tė parė listen e faqeve qė Windows mban mend, shtyp komandėn ipconfig /displaydns. Pėr ta fshirė kėtė listė, mund tė rinisėsh kompjuterin ose tė pėrdorėsh komandėn ipconfig /flushdns. Kjo do e detyrojė Windows tė kontaktojė ISP pėr tė rifreskuar adresat IP tė faqeve.
Njė mėnyrė tjetėr qė Windows pėrdor pėr tė gjetur adresat IP tė faqeve ėshtė skedari hosts nė dosjen c:\windows\system32\drivers\etc. Nėse nuk e ke ndryshuar, ky skedar duhet tė duket si mė poshtė. Nėse ke adresa tė tjera aty, mund tė jenė shtuar nga programe keqbėrės (reklama, spiunė, virusė, etj).
Kodi:
# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
::1 localhost
Pėr tė parė nėsė DNS po punon qysh duhet, pėrdor komandėn ping. Nėse bėn ping microsoft.com, kompjuteri do bėjė ping adresėn IP tė microsoft-it. Mė poshtė mund tė shikosh disa shembuj nga kompjuteri im. Vėr re se adresat IP janė tė ndryshme pėr microsoft, google, yahoo. Pėrgjigjet (reply from ...) tregojnė se kompjuteri komunikoi me sukses me atė adresė IP qė sipas DNS i pėrket faqes qė ti bėrė ping.
Kodi:
C:\Users>ping microsoft.com
Pinging microsoft.com [207.46.197.32] with 32 bytes of data:
Reply from 207.46.197.32: bytes=32 time=85ms TTL=107
Reply from 207.46.197.32: bytes=32 time=86ms TTL=107
Reply from 207.46.197.32: bytes=32 time=84ms TTL=107
Reply from 207.46.197.32: bytes=32 time=85ms TTL=107
Ping statistics for 207.46.197.32:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 84ms, Maximum = 86ms, Average = 85ms
C:\Users>ping yahoo.com
Pinging yahoo.com [216.109.112.135] with 32 bytes of data:
Reply from 216.109.112.135: bytes=32 time=17ms TTL=51
Reply from 216.109.112.135: bytes=32 time=17ms TTL=51
Reply from 216.109.112.135: bytes=32 time=17ms TTL=52
Reply from 216.109.112.135: bytes=32 time=17ms TTL=52
Ping statistics for 216.109.112.135:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 17ms, Maximum = 17ms, Average = 17ms
C:\Users>ping google.com
Pinging google.com [64.233.187.99] with 32 bytes of data:
Reply from 64.233.187.99: bytes=32 time=31ms TTL=238
Reply from 64.233.187.99: bytes=32 time=31ms TTL=238
Reply from 64.233.187.99: bytes=32 time=32ms TTL=238
Reply from 64.233.187.99: bytes=32 time=32ms TTL=238
Ping statistics for 64.233.187.99:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 31ms, Maximum = 32ms, Average = 31ms
Krahaso rezultatet e komandava ipconfig dhe ping me njė kompjuter tjetėr qė pėrdor tė njėjtėn lidhje Interneti pėr tė kuptuar nėse ėshtė problemi me kompjuterin tėnd apo me rrjetin e ISP.
Krijoni Kontakt