Showing posts with label an. Show all posts
Showing posts with label an. Show all posts
Thursday, January 4, 2018
How to track the original location of an email via its IP address
How to track the original location of an email via its IP address
Here�s a quick how-to guide on how you can track email to it�s originating locationby figuring out the email�s IP address and looking it up. I have found this to be quite useful on many occasions for verification purposes since I receive lots of emails daily due to my blog. Tracking the IP address of an email sender does require looking at some technical details, so be ready to dig your heels in!
There are basically two steps involved in the process of tracking an email: find the IP address in the email header section and then look up the location of the IP address.
Finding the IP address of an email sender in GMail, Yahoo Mail, and Outlook
Let�s go ahead and take a look at how you would do this for Google, Yahoo and Outlook since those are the most popular email clients
Google�s Gmail
1. Log into your account and open the email in question.
2. Click on the down arrow that�s to the right of the Reply link. Choose Show Original from the list.
Now here�s the technical part that I was telling you about earlier! You need to look for the lines of text that start with �Received: from�. It might be easier to simply press Cntrl + F and perform a search for that phase. You�ll notice that there are several Received From�s in the message header. This is because the message header contains the IP addresses of all of servers involved in routing that email to you.

To find the first computer that originally sent the email, you�ll have to find the Received From that�s farthest DOWN. As you can see from the above image, the first one is from a computer called �aseem� with the IP address 72.204.154.191. Then it was routed to my ISP�s server at eastrmmtao104.cox.net and so on and so forth till it got to your email server.
The computer aseem is my personal home computer and that�s my public IP address for my house! I�ll go through Yahoo and Outlook before talking about tracking the location of that IP address.
Yahoo Mail Beta
1. Log into your account and open the email (if you�re using Yahoo Mail Beta with the new preview interface, make sure you double-click on the email so that it opens in a new tab)
2. At the top right, you�ll see there is a drop-down option where Standard Headeris selected by default.
3. Click on it and choose Full Header.
Again, you�ll see the same information as before, just in a different window:
Microsoft Outlook
1. Open the email in Outlook by double-clicking on it
2. Go to View at the top menu (the menu options for the email, not the main Outlook window) and choose Options.
You�ll get a dialog box where you can set the message options and at the bottom you�ll see the Internet Headers box. For some silly reason, the box is very small and you have to scroll a lot, so it�s best to simply copy and paste the text into Notepad to view it more easily.
Tracking the location of an IP address
Now that we have our originating IP address of 72.204.154.191, let�s find out where that is! You can do this by perform a location lookup on the IP address. My favorites are IP2Location and GeoBytes IP Locator.
GeoBytes gave me a big map of New Orleans, LA along with a bunch of other information about the location itself.
IP2Location also gave me the same information pretty much, including the ISP (Cox Communications). Of course, this is correct since I live in New Orleans!
If you want more information, you can do a WHOIS database search also. My favorite one is the ARIN WHOIS Database Search. This will give you information on who hosts that IP address and their registration information. You can always contact them to try and find more information on that particular IP address.
Have fun tracking down those emails! Questions, comments, or suggestions? Post a comment!
How To Hard Reset An Android Phone
How To Hard Reset An Android Phone

Is your Android Smartphone slow, freezing, not responsive, responding incorrectly, or you can�t remember the phones password? You�re in luck! There is still a pretty powerful option available, and that is to perform a hard reset, also known as an alternate reset, on the device.
Before we begin� If you are still able to access the setting on your device and navigate the phone then you might be more interested in reading How to backup and reset an Android phone, which goes through the process of doing a full backup and then performing a Factory Data Reset through the phones settings.
If you�re having problems accessing your factory data reset options through the settings then you can still perform a factory reset on your Android Smartphone and this article will show you how to do it. This is the perfect solution if you�re having problems with your touch screen, or you can�t navigate correctly on your phone. It�s also an option if you can�t get your device to power on all the way or when your phone won�t power on at all.
If you�re seeking to do a reset on your Android Smartphone then you most likely know how effective a reset can be at solving issues on phones. Through this article I am going to go over multiple ways to perform resets on your phone without actually having to navigate through the touch screen. Your phone doesn�t even need to be on in order to do it in most instances!
Make sure the device is powered off
Most of these hard resets require that your phone is completely powered off, so make sure that your phone is powered off all the way not just locked. If you�re phone isn�t responding and you can�t power off the phone with the power button, then you might need to pull the battery out, count to ten, and then put the battery back in. Just don�t power the phone back on if you have to reinsert the battery. Keep the device powered off.
Also make sure that your phone is not plugged into a charger. If the phone is plugged into a charger or if the device is not fully powered off, the reset is not going to work.
Hard reset methods and procedures may differ
Alternate resets also usually involve performing a series of key combinations which we�ll get to in a minute. The key combination you have to perform will highly depend on the specific make and model of the phone and what version of Android OS (Operating System) is currently running on the device. For example you might be able to perform a reset on a phone one way if it�s running the 2.2 (Froyo) OS, then you upgrade your phone to the 2.3 (Gingerbread) OS and the method no longer works, causing you to use a different method (I have an example of this in method 6 and 7 below). When you upgrade again to the 4.0 (Ice Cream Sandwich) OS you might have to use a different method and different key combination to perform the same alternate reset. So just beware of this.
You might also need to attempt the reset a couple times for it to go through correctly.
Disclaimer: Remember that a reset is permanent and cannot be undone. It will erase all personal data and downloaded content on the phone, don�t worry it will not affect or erase your memory card or anything saved on your SIM card. This includes content such as pictures, ringtones, texts, apps, etc. and will usually fix software glitches, bugs, viruses, etc as well. Try if at all possible, to perform a backup first. Usually when you need to perform an alternate reset on your mobile phone you might not be able to do a backup.
Preparation for a hard reset on an Android phone
Just a minor side note, on a typical alternate reset so that you know what to expect. You�re going to power the phone off, hold a specific set of key combinations (shown below), access a fastboot/testing/recovery/etc screen, select reset, and then the phone is going to power itself off, all by itself, then it�s going to power itself back on, all by itself. This can take a few minutes, some phones can take up to 15 min to reboot (pretty uncommon though, the average phone probably takes 3-5 min). Once it reboots the phone is going to think its brand new right off the shelf. So go ahead and set it up again like you did when you first got it.
If you own an Android Smartphone manufactured by Pantech then unfortunately you cannot perform an alternative reset on your device. Pantech Smartphones currently do not have a hard reset feature; the only reset available on Pantech phones is through the settings.
Let�s start with the most common Hard Reset methods and go from there:
Note: the different types of methods are numbered, method 1, method 2, method 3, etc.
1. When the phone is powered off, press and hold the Volume Up and the Volume Downkeys both at the same time, then press and hold the Power key until a test screen that shows some available options appears, usually takes about 15-20 seconds. When that screen pops up you can let go of the keys.
Press the Volume Down key to navigate down through the options until it highlightsFACTORY RESET then press the Power key to select it.
2. Power the phone off all the way, press and hold the Volume Down key and press than release the Power key, still holding the volume down key for about 10-15 seconds. When you see some additional options pop up on the screen you can let go of the keys.
Press the Volume Down key to navigate down through the options until it highlights the reset option; it usually says FACTORY RESET, then press the Power key to make the selection.
3. While powered off, press and hold the Home key, while continuing to hold the home key power the device on by pressing the Power key.
Once the Android Recovery screen appears release the Home key, then while on the Android Recovery screen, press the Volume Up and Volume Down keys both at the same time.
If/when you�re on the Android System Recovery screen release all the keys, and then use the Volume down key to navigate down to the �wipe date/factory reset� option. Once it�s highlighted press the Power key to select it.
Once you see the �Confirm wipe of all user data?� Press the Volume down key to highlight �Yes�delete all user data�, then press the Power key to select it.
4. Power the device off, then press and hold the Home key and press and release thePower key (while still holding the Home key).
From the Android Recovery screen, press the Search key.
Tap to select wipe data/factory reset then select Ok (located in the lower left of the screen). Note: if screen is not responsive use the Volume keys to scroll and the Camera key to select.
Select Yes � delete all user data, and then select OK (again lower left).
Select �reboot system now� and press OK.
5. This is becoming a common hard reset method and can be used to factory reset Samsung�s more recent Galaxy smartphones such as the Samsung Galaxy S III, the Samsung Galaxy S4, the S5, the Samsung Galaxy Note the Note II and Note 3, etc.
With the device powered off press and hold the Volume Up key the Home key and thePower key all at the same time.
When the phone vibrates (or you see the GALAXY Logo) release the Power key but continue to hold the Volume Up and Home key.
Continue holding the Volume up and Home key until the �Android system recovery� screen appears.
Use the Volume buttons to scroll to and highlight the �wipe data/factory reset� option, and then use the Power key to make the selection.
Once the factory reset is finished you may use the Volume and Power keys to highlight and select the �Reboot system now� option and the hard reset will be complete and your cell phone will be nice and squeaky clean.
With the device powered off press and hold the Volume Up key the Home key and thePower key all at the same time.
When the phone vibrates (or you see the GALAXY Logo) release the Power key but continue to hold the Volume Up and Home key.
Continue holding the Volume up and Home key until the �Android system recovery� screen appears.
Use the Volume buttons to scroll to and highlight the �wipe data/factory reset� option, and then use the Power key to make the selection.
Once the factory reset is finished you may use the Volume and Power keys to highlight and select the �Reboot system now� option and the hard reset will be complete and your cell phone will be nice and squeaky clean.
6. Here is an alternate reset for a Motorola Atrix still running on the 2.2 Android OS�
While the phones power is off, press and hold the Volume down button and press and release the power button (note: if it doesn�t work after all the steps listed try holding down the power button along with the volume down button in this first step).
A "Fastboot" screen should pop up, press the Volume down key to cycle through the choices until you get to "Android Recovery", then press the Volume up key.
Wait for the "triangle!/Android". Once it pops up you�ll need to tap on the bottom right corner of the screen (note: it may take a few attempts). A menu should pop up.
Tap on "wipe data/factory reset", and then tap OK. Another confirmation screen will appear. Tap Yes and then OK.
After the data is cleared the "reboot system now" option should appear and is highlighted by Default. Tap OK.
Note: this type of reset is common on the 2.2 (Froyo) before the tech geeks wised up and removed the need to use the touch screen.
7. This reset is for the same phone, the Motorola Atrix, but one that�s running on the 2.3 OS.
Power off the phone, press and hold the Volume down button and Power button simultaneously while powering on the unit.
The "Fastboot" screen should pop up. When it does press the Volume down key to cycle through the choices until you get to "Android Recovery", and then press the Volume upkey to boot in this mode.
Wait for the "triangle!/Android" screen to pop up. Once it does press both the Volume upand Volume down keys simultaneously. A Recovery Menu should pop up.
Tap on the Volume down key until "wipe data/factory reset" is highlighted, and then tap the Power button. Another Confirmation screen will come up. Tap on the Volume downkey until it highlights �Yes� and then tap the Power button to make the selection.
After it�s done make sure "reboot system now" is highlighted and then tap thePower button.
In this method you don�t have to use the touch screen any more. So let�s say your touch screen isn�t responding therefore you can�t navigate the phone or go into your settings and do a regular factory data reset. Well now on the 2.3 there is hope. Just power off the phone and perform these steps and the reset should go through.
8. Here is a hard reset for a Sharp Android Smartphone.
While the device is off, hold the Sym button (it�s located on the keyboard) and the Powerbutton simultaneously.
Once the Android boot screen appears highlight the Wipe data/factory reset option by using the volume buttons. Then use the Return key (on the keyboard) to actually make the selection.
Scroll down to Yes - delete all user data and then press the Power key to confirm.
Once it is done select reboot system now and press the Power key to confirm and reboot your handset.
Important Note: On some Sharp models (such as the Sharp FX Plus ADS1) if holding the Sym button and Power key simultaneously doesn�t take you directly to the Android system recovery screen you might have to do one additional step. If using this hard reset key combination takes you to a screen which shows an exclamation mark within a triangle, then press the Home key (while on that exclamation mark screen) and this should take you to your Sharps Android system recovery options.
9. Here is a common method used to hard reset an LG Android smartphone. So if you need to hard reset an LG Optimus this is the hard reset key combination to try first.
After the LG phone has been powered off, press and hold the Volume Down button. While holding the Volume Down button, press and hold the Home button. While holding both theVolume Down button and Home button, press and hold the Power button.
Continue holding these three keys down simultaneously until the LG logo appears.
Once the LG Logo appears release all of the keys. This will complete the reset on many LG phones; you will be given the option to �Select your language� and can proceed with setting up your device as if you were setting up the phone for the first time.
If however, you are taken to a fastboot screen or a screen with additional options then use the Volume Down key to scroll to and highlight the wipe data/factory reset option and then press the Menu key to make the selection.
The phone might give you a confirmation screen in which you can use the Volume Down key to scroll to and highlight Yes -- delete all user data and then press the Menu key to make the selection.
If you get an option to reboot system now then select that option with the Menu key. The phone will reboot, which can take a couple of minutes, and the hard reset will be complete.
10. A less common method to hard reset an Android smartphone, but the following key combination can be used to reset some cell phones including the Samsung Gio (GT-S5660).
Power the phone off, by using the power button or by removing and then reinserting the battery (when possible).
While the phone is off press and hold the Home button and the Power key at the same time (the Home key is typically the big button on the bottom center of the phone under the display/touch screen).
When the phone starts to power on and you see the phones logo you can release the power button but keep pressing the Home button until the Android system recover screen appears. Once it pops up you can release the Key(s).
Use the Volume keys to highlight the �wipe data/factory reset� option, and then use theHome key to make the selection. Scroll down using the Volume keys again until the �Yes�delete all user data� option is highlighted and then press the Home key to select that as well.
The system recover screen should pop back up and when it does make sure that �reboot system now� is highlighted and press the Home key to make the selection. The phone will restart and the hard reset will be done.
11. Another uncommon hard reset technique but similar to the one used in method #2. This process can be used to hard reset T-mobiles Prism and Prism II as well as AT&Ts Huawei Fusion (U8652).
Turn off the phone and then press and hold the Volume Up key and Power key simultaneously until the Android system recover screen appears.
Read more »
Monday, January 1, 2018
How to Manually install an OTA update on your HTC device
How to Manually install an OTA update on your HTC device

Facts you need to know before continuing:
- This method has nothing to do with the "adb sideload" feature available on Android devices since Jelly Bean. It should work on every Android HTC device.
- Read about different software versions for the HTC devices here. Keep in mind that the OTA update must match the software version on your device. Each original OTA update.zip package has 2 different software versions in its name - the version of the software that must be currently installed on your device and the version of the software that your device will run after the update. For example:
OTA_M7_UL_JB43_SENSE55_MR_HTC_Europe_3.62.401.1-2.24.401.8_release_338160gxmo5sd9337kadux.zip
As you can see, 2.24.401.8 is the software version you must currently have installed to be able to run the OTA and 3.62.401.1 is the version of the software expected after the update. You cant flash an OTA update on a different software version to that expected by the OTA update for two main reasons:
- Formal reason - the OTA update.zip package checks if your system is running the expected software version before it starts to install the update:
assert(file_getprop("/system/build.prop", "ro.build.fingerprint") == "htc/htc_europe/m7:4.2.2/JDQ39/235216.8:user/release-keys");
This must match the following build fingerprint from the build.prop. If the versions dont match, the installation of the OTA package will be cancelled.ro.build.fingerprint=htc/htc_europe/m7:4.2.2/JDQ39/235216.8:user/release-keys
- Technical reason - OTA update.zip packages usually contain patches for the target files. This way OTA update doesnt have to be 1GB size, even if it is supposed to update the whole OS to the newer version. Patch files have an *.apk.p extension (f.g. Camera.apk.p) and each patch file must match the target file (f.g. Camera.apk). To make it possible, OTA update.zip package checks the MD5 checksum of each file on the system partition on your device:
And finally, if the MD5 is correct it applies the patch. All these commands are stored in META-INFcomgoogleandroidupdater-script of each OTA update.zip package. If the MD5 is incorrect, or at least one file is missing, the installation of the OTA package will be cancelled.assert(apply_patch_check("/system/app/Camera.apk","b3b79e40bad0b1bec5fb949ac5f8662f91bee714","5a5bf63e3d7c9de52a7d8d7a292e158263783844"));assert(apply_patch("/system/app/Camera.apk", "-",
b3b79e40bad0b1bec5fb949ac5f8662f91bee714, 4229394,
5a5bf63e3d7c9de52a7d8d7a292e158263783844,
package_extract_file("patch/system/app/Camera.apk.p")));
Now you are ready to manually apply the OTA update on your device. The method youll use is based on Android stock recovery.
- Make sure you have the stock (original) recovery flashed on your device
- Make sure youre running a completely unmodified operating system. Additional files like Superuser.apk or su binary are allowed, you just cant have any system files changed or removed (due to the MD5 check)
- Make sure you have a reasonable amount of battery charge remaining
- Make sure the OTA update youre about to install matches the software version on your device
- Copy the OTA update.zip package to your device (internal storage preferred)
- Turn OFF the device (make sure fastboot mode is disabled in settings)
- Hold your volume down and power keys until the bootloader starts up
- Using the volume keys, navigate down to RECOVERY and press power
- You are now in stock recovery mode. You should see nothing more than a (sometimes spinning) Android with the red exclamation mark above it (an empty black screen is also possible). Wait for a few seconds
- First hold volume up, then (with volume up held down) press power button to enter the main recovery menu. This keys combination may vary from device to device. Try different keys combination if the above one doesnt work (might be all three keys all together too)
- Navigate down to "apply from phone storage" text and press power to confirm
- Navigate to the location where you copied the OTA update.zip package and press power to confirm
- Wait (sometimes you might need to follow further instructions on the screen) until the update process is finished
- Once system is booted you should see a confirmation about the successfully flashed update.
Have any questions or comments? Feel free to share! Also, if you like this article, please use media sharing buttons (Twitter, G+, Facebook) below this post!
Sunday, December 31, 2017
iLogic Batch Output PDFs from an Assembly File
iLogic Batch Output PDFs from an Assembly File
Issue:
Youd like to output a PDF file from the drawings of all the components found in an assembly file (if those components have a drawing file created), and you like also create a PDF of the top level assembly drawing as well. All of these PDFs should be written out to a single folder. Can this be done?

Heres an ilogic rule to batch output PDF files for each component in an assembly. This rule assumes that the component drawings share the same name and location of the component.
For example: C:Tempwidget-450.ipt has a drawing: C:Tempwidget-450.idw
If the drawing file is not found, then it simply moves on and looks at the next component.
This rule may not work for everyone, but it should provide a starting point from which it can be modified as needed. If you work with *.dwg files rather than *.idw files you can search and replace this code for idw and replace with dwg.
Here is the code in a *.txt file that can be downloaded as well:
http://forums.autodesk.com/autodesk/attachments/autodesk/78/455124/2/Batch%20PDFs.txt
define the active document as an assembly file
Dim oAsmDoc As AssemblyDocument
oAsmDoc = ThisApplication.ActiveDocument
oAsmName = Left(oAsmDoc.DisplayName, Len(oAsmDoc.DisplayName) -4)
check that the active document is an assembly file
If ThisApplication.ActiveDocument.DocumentType <> kAssemblyDocumentObject Then
MessageBox.Show("Please run this rule from the assembly file.", "iLogic")
Exit Sub
End If
get user input
RUsure = MessageBox.Show ( _
"This will create a PDF file for all of the asembly components that have drawings files." _
& vblf & "This rule expects that the drawing file shares the same name and location as the component." _
& vblf & " " _
& vblf & "Are you sure you want to create PDF Drawings for all of the assembly components?" _
& vblf & "This could take a while.", "iLogic - Batch Output PDFs ",MessageBoxButtons.YesNo)
If RUsure = vbNo Then
Return
Else
End If
- - - - - - - - - - - - -PDF setup - - - - - - - - - - - -
oPath = ThisDoc.Path
PDFAddIn = ThisApplication.ApplicationAddIns.ItemById("{0AC6FD96-2F4D-42CE-8BE0-8AEA580399E4}")
oContext = ThisApplication.TransientObjects.CreateTranslationContext
oContext.Type = IOMechanismEnum.kFileBrowseIOMechanism
oOptions = ThisApplication.TransientObjects.CreateNameValueMap
oDataMedium = ThisApplication.TransientObjects.CreateDataMedium
If PDFAddIn.HasSaveCopyAsOptions(oDataMedium, link download
Read more »
Saturday, December 30, 2017
How to Share the Internet Through an Ethernet Crossover Cable
How to Share the Internet Through an Ethernet Crossover Cable

You might seen in Office,Cyber Cafe,Computer Centers,a set of Computers are connected in LAN and sharing Internet via a single Host,may be they have implemented a Complex Network Topology but you can also create a simple and easy Network at your home and youll be able to share files,Internet everything Via a single Lan Cable,Lets See :
How to Share Internet Via a single Lan Cable between two Computers?
Ill describe the whole procedure step by step with Screenshots :
- Go to Start Manu > Click on Control Panel

- Click on Network and Sharing Center

- Change Adapter Setting

- Right click on your Internet Connection Adapter and Select Properties

- Click on Sharing Tab and Tick the First Option
- Second Option is not necessary but If Any problem Occurs then Tick on the Second Option.
- Now Click on Ok button.

- Now right Click on your LAN adapter and select properties

- Select Internet protocol version 4(TCP/IPv4) and click on Properties

- Now tick the Use the following IP address Radio Button and Fill the Details

- Right Click on the LAN Adapter and Select Properties

- Select Internet protocol version 4(TCP/IPv4) and click on Properties

- Now Fillup the Details as below Screenshot :

- Click ok on all open Windows .

If this Tutorial was helpful for you then please leave your comments...
Tuesday, December 26, 2017
How to install Windows 8 from an USB Drive
How to install Windows 8 from an USB Drive
The much anticipated Windows 8 Operating system which was seen discussed and highlighted in most of the tech sites even before its release was recently being leaked on the internet and is available for download through some torrent sites or file hosting portals. The said leaked download files represented the Windows 8 Build 7850 Milestone 1 which is the official version but is now distributed
Monday, December 25, 2017
How To Setup An Interal DNS Server On Ubuntu Easiest Way Bind9 DNS server
How To Setup An Interal DNS Server On Ubuntu Easiest Way Bind9 DNS server

In this tutorial we will setup a Bind9 DNS server for your home network with caching.
Running a caching DNS server it will cache DNS locally so sites you visit often will not have to make a DNS query until the DNS record has expired.
This will help improve your internet speed as well as reduce bandwidth.
Before we begin make sure you have an Ubuntu server running and configured with a static IP address
Installing Bind9 on Ubuntu
Open Terminal on Ubuntu server or Login via SSHInstallation
sudo apt-get install bind9And then type "Y" to confirm
Bind Configuration
The next step is to configure the forwards addresses for bind.
This tell bind where to look if it doesnt know the IP address of a domain.In this example we will use Googles Public DNS servers for the forward DNS servers.
Googles DNS servers are fast, and free.
If you want you can use your ISP providers DNS servers.
sudo nano /etc/bind/named.conf.optionsthen press enter
Configure Forwarders As shown is Above Picture
Exit it out of nano by hitting CTRL + X.
Enter Y to confirm saving changes.
Enter Y to confirm saving changes.
Configuring internal domain
The next step is to edit /etc/bind/named.conf.local
In this example we will setup an internal domain with tne name linux.lix.
If you want to use something else just make sure you replace linux.lix in the following steps with your internal domain name.
The internal domain can be whatever you want.
In this example we will setup an internal domain with tne name linux.lix.
If you want to use something else just make sure you replace linux.lix in the following steps with your internal domain name.
The internal domain can be whatever you want.
sudo nano /etc/bind/named.conf.localthen press enter
We will need to figure out our IP address range of our internal network so we can build the correct reverse zone lookup file.
Most home networks will have a 192.168.1.X or 192.168.0.X type of IP address. In my case I have a 192.168.0.X IP address network.
When looking at our IP address the part we care about is the first three sets of octets ( 192.168.0.100 = three sets 192.168.0)
Then we just reverse them - 192.168.0 => 0.168.192
Replace linux.lix with the internal domain name you picked and replace 0.168.192 with your IP address scheme.
and make note of the names because we will need to build these files in the next few steps.
and make note of the names because we will need to build these files in the next few steps.
zone "linux.lix" {
type master;
file "/etc/bind/db.linux.lix";
};
zone "0.168.192.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/db.192";
};
type master;
file "/etc/bind/db.linux.lix";
};
zone "0.168.192.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/db.192";
};
Hit CTRL + X to exit out of nano
Enter Y to confirm saving changes
Enter Y to confirm saving changes
Building Your DNS Forward Zone
The first file we need to build is the forward zone file (db.linux.lix)sudo cp /etc/bind/db.local /etc/bind/db.linux.lixThis will copy default zone to our zone
Now lets Edit our Zone db.linux.lix
sudo nano /etc/bind/db.linux.lixThe three most common types of DNS records are Address (A Record), Canonical Name (CNAME), and Mail Exchanger (MX). We will focus on A Record
A Record: Defines a mapping of a hostname to an IP address. This is the most common
CNAME: Defines that the domain name is an alias of another name.
MX: Defines mail servr
NS: Name Server
Replace linux.lix with internal domain name you picked
shahid.linux.lix with your internnal domain name example - user.yourdomain.ext
Change DNSserver. to your UbuntuServer Host name and put "." in end of host name as shown in above picture.
Put " ; " in front of like these
;@ IN A 127.0.0.1
;@ IN AAAA ::1
Now Maping Domain Name to IP
@ IN A 192.168.0.101
In my case 192.168.0.101 is My internal webserver.
Now Building Reverse Lookup
sudo cp /etc/bind/db.127 /etc/bind/db.192This will copy default reverse lookup file to our database
Now edit the file
sudo nano /etc/bind/db.192Replace linux.lix as with internal domain name you picked as Mention Earlier
Make sure you have a "." at the end of the names.
IN is defining it as an Internet address.
PTR is a pointer record. This defines what name will be called when an IP address is looked up.
Now lets save our reverse zone file by hitting CTRL + X
Enter "Y" to confirm saving the file.
Enter "Y" to confirm saving the file.
Now Start Your DNS Server
sudo service bind9 startNow Test The DNS server
located in - Control PanelNetwork and InternetNetwork and Sharing Center
then click on Local area Connection Status then - > properties -> Internet Protocol Version 4
And then Put your Ubuntu Server Ip address to Preferred DNS server Box and click ok
Now Open CMD in Windows
Now open you Browser type linux.lix in url You will get your Web server - Web Page
For Any one Who Join Your Local Area connection can get the DNS server By puttion Your Ubuntu Server IP address to your Router DNS setting
If You Find This Helpful Share On Social Medias
Subscribe to:
Posts (Atom)