Nslookup Command Bangla Explain – এনএস লুকআপ কমান্ড বাংলা টিউটোরিয়ালে আপনাদের স্বাগতম। Nslookup মূলত একটা শক্তিশালী কমান্ড লাইন টুল। এটি নেটওয়ার্ক টুল হিসেবেই পরিচিত। কোন ডোমেইন শনাক্ত করতে, কোন স্পেসিফিক DNS record (Domain Name Server) এর রেকর্ড বের করতে, এছাড়া ও বিভিন্ন কিছু কাজে এর ব্যবহার রয়েছে। এই কমান্ডটি জনপ্রিয় কিছু অপারেটিং সিস্টেম যেমন উইন্ডোজ, ম্যাক, এবং লিনাক্সের কিছু জনপ্রিয় ডিস্ট্রোতে ও ডিফল্টভাবে ইনস্টল করে দেয়া থাকে। তবে লিনাক্সের অনেক ডিস্ট্রিবিউশনে অবশ্য থাকে না। সেক্ষেত্রে আপনাকে প্রথমে এটি ইনস্টল করে নিতে হবে।
কমান্ডটি ইনস্টল করার পূর্বে আপনার লিনাক্স টার্মিনালটি ওপেন করুন। প্রথমেই sudo su এই কমান্ড ব্যবহার করে সুপার ইউজার হয়ে নিন। নিচের কমান্ডগুলো অনুসরণ করুন এবং আপনার লিনাক্স ডিস্ট্রিবিউশন অনুযায়ী তা ব্যবহার করুন।
Ubuntu, Debian, Kali Lnux, and Linux Mint: sudo apt-get update
And then, sudo apt-get install dnsutils
Centos, Fedora, and Red Hat: sudo dnf install bind-utils
CentOS, Fedora, and Red Hat (Earlier versions): sudo yum install bind-utils
Arch Linux and Manjaro: sudo pacman -S dnsutils
এখন চলুন, আমরা বিস্তারিত কমান্ডগুলো নিয়ে আলোচনা করি।
1. A Record Of a Domain:
কোন ডোমেইনে কি পরিমাণ A record আছে এবং প্রতিটি আইপি ঠিকানা দেখার জন্যে এই কমান্ডটি ব্যবহার করা হয়। Command: nslookup example.com
kali@kali:~$ nslookup gogole.com
Server: 169.254.169.254
Address: 169.254.169.254#53
Non-authoritative answer:
Name: google.com
Address: 142.251.12.138
Name: google.com
Address: 142.251.12.113
2.Check the NS(name server) records of a domain:
নিম্নের কমান্ডটি ব্যবহার করে একটি নির্দিষ্ট ডোমেইনের জন্যে আপনি ns(name server) নেম সার্ভার বের করতে পারেন। Command: nslookup -type=ns example.com [এখানে -type এই প্যারামিটারটি ব্যবহার করতে হবে]
kali@kali:~$ nslookup -type=ns google.com
Server: 169.254.169.254
Address: 169.254.169.254#53
Non-authoritative answer:
google.com nameserver = ns1.google.com.
google.com nameserver = ns2.google.com.
google.com nameserver = ns4.google.com.
google.com nameserver = ns3.google.com.
Authoritative answers can be found from:
3.SOA record of a domain:
এই কমান্ড ব্যবহারের মাধ্যমে আপনি কর্তৃপক্ষের শুরু এবং জোন সম্পর্কে বিভিন্ন তথ্য পেতে পারেন। Command: nslookup -type=soa example.com
kali@kali:~$ nslookup -type=soa google.com
Server: 169.254.169.254
Address: 169.254.169.254#53
Non-authoritative answer:
google.com
origin = ns1.google.com
mail addr = dns-admin.google.com
serial = 456475875
refresh = 900
retry = 900
expire = 1800
minimum = 60
Authoritative answers can be found from:
4.MX records responsible for the email exchange:
ডোমেইের মেইল সার্ভার চেইক করার জন্যে নিচের কমান্ডটি ব্যবহার করা হয়। এই কমান্ডটি ব্যবহারের মাধ্যমে আপনি দেখতে পারেন যে, সমস্ত মেইল সার্ভারগুলো ঠিকমতো কাজ করছে কিনা। Command: nslookup -type=mx example.com
kali@kali:~$ nslookup -type=mx google.com
Server: 169.254.169.254
Address: 169.254.169.254#53
Non-authoritative answer:
google.com mail exchanger = 10 smtp.google.com.
Authoritative answers can be found from:
5. Available DNS records of a domain:
এই কমান্ড ব্যবহার করে আমরা কোন ডোমেইনের সমস্ত DNS রেকর্ডগুলো দেখতে পারি এবং বিভিন্ন ধরণের DNS রেকর্ডের জন্যে নির্দিষ্ট লুকআপ করতে পারি। Command: nslookup -type=any example.com
kali@kali:~$ nslookup -type=any google.com
Server: 169.254.169.254
Address: 169.254.169.254#53
Non-authoritative answer:
Name: google.com
Address: 74.125.24.139
Name: google.com
Address: 74.125.24.102
Name: google.com
Address: 74.125.24.138
Name: google.com
Address: 74.125.24.101
Name: google.com
Address: 74.125.24.100
Name: google.com
Address: 74.125.24.113
Name: google.com
Address: 2404:6800:4003:c03::71
Name: google.com
Address: 2404:6800:4003:c03::64
Name: google.com
Address: 2404:6800:4003:c03::66
Name: google.com
Address: 2404:6800:4003:c03::8b
google.com text = "v=spf1 include:_spf.google.com ~all"
google.com rdata_257 = 0 issue "pki.goog"
google.com text = "atlassian-domain-verification=5YjTmWmjI92ewqkx2oXmBaD60Td9zWon9r6eakvHX6B77zzkFQto8PQ9QsKnbf4I"
google.com text = "docusign=1b0a6754-49b1-4db5-8540-d2c12664b289"
google.com text = "MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB"
google.com text = "google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o"
google.com text = "docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e"
google.com nameserver = ns1.google.com.
google.com text = "facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95"
google.com text = "google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ"
google.com nameserver = ns2.google.com.
google.com text = "webexdomainverification.8YX6G=6e6922db-e3e6-4a36-904e-a805c28087fa"
google.com nameserver = ns4.google.com.
google.com nameserver = ns3.google.com.
google.com text = "apple-domain-verification=30afIBcvSuDV2PLX"
google.com text = "globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8="
google.com
origin = ns1.google.com
mail addr = dns-admin.google.com
serial = 456475875
refresh = 900
retry = 900
expire = 1800
minimum = 60
google.com mail exchanger = 10 smtp.google.com.
Authoritative answers can be found from:
6. Check the specific DNS Server:
আমরা চাইলে প্রতিটি DNS রেকর্ড আলাদা করর চেইক করতে পারি।নিম্নের কমান্ডটি ব্যবহারের মাধ্যমে আলাদা আলাদা করে প্রতিটি ডোমেইন নেইম সিস্টেম(DNS) চেইক এবয় কিভাবে এটি কাজ করে তা দেখা সম্ভব। এছাড়াও নেইম সার্ভারটি এ্যাকটিভ কিনা বা এটি সঠিক সময় রেসপন্স করছে কিনা তা ও দেখা সম্ভব। Command: nslookup example.com ns1.google.com
kali@kali:~$ nslookup google.com ns1.google.com
Server: ns1.google.com
Address: 216.239.32.10#53
Name: google.com
Address: 142.251.12.113
Name: google.com
Address: 142.251.12.101
Name: google.com
Address: 142.251.12.138
Name: google.com
Address: 142.251.12.100
Name: google.com
Address: 142.251.12.102
Name: google.com
Address: 142.251.12.139
Name: google.com
Address: 2404:6800:4003:c11::8b
Name: google.com
Address: 2404:6800:4003:c11::8a
Name: google.com
Address: 2404:6800:4003:c11::65
Name: google.com
Address: 2404:6800:4003:c11::64
7. Enable Debug mode:
ডিবাগ মোড অপশনটি প্রশ্ন এবং প্রাপ্ত উত্তর উভয়ের জন্যই গুরুত্বপূর্ণ এবং বিস্তারিত তথ্য প্রদান করে। Command:nslookup -debug example.com
kali@kali:~$ nslookup -debug google.com
Server: 169.254.169.254
Address: 169.254.169.254#53
------------
QUESTIONS:
google.com, type = A, class = IN
ANSWERS:
-> google.com
internet address = 142.251.10.100
ttl = 300
-> google.com
internet address = 142.251.10.139
ttl = 300
-> google.com
internet address = 142.251.10.101
ttl = 300
-> google.com
internet address = 142.251.10.102
ttl = 300
-> google.com
internet address = 142.251.10.113
ttl = 300
-> google.com
internet address = 142.251.10.138
ttl = 300
AUTHORITY RECORDS:
ADDITIONAL RECORDS:
------------
Non-authoritative answer:
Name: google.com
Address: 142.251.10.100
Name: google.com
Address: 142.251.10.139
Name: google.com
Address: 142.251.10.101
Name: google.com
Address: 142.251.10.102
Name: google.com
Address: 142.251.10.113
Name: google.com
Address: 142.251.10.138
------------
QUESTIONS:
google.com, type = AAAA, class = IN
ANSWERS:
-> google.com
has AAAA address 2404:6800:4003:c04::71
ttl = 300
-> google.com
has AAAA address 2404:6800:4003:c04::65
ttl = 300
-> google.com
has AAAA address 2404:6800:4003:c04::64
ttl = 300
-> google.com
has AAAA address 2404:6800:4003:c04::8a
ttl = 300
AUTHORITY RECORDS:
ADDITIONAL RECORDS:
------------
Name: google.com
Address: 2404:6800:4003:c04::71
Name: google.com
Address: 2404:6800:4003:c04::65
Name: google.com
Address: 2404:6800:4003:c04::64
Name: google.com
Address: 2404:6800:4003:c04::8a
Nslookup Command Bangla Explain টিউটোরিয়ালটি আশাকরি আপনাদের ভালো লেগেছে।