Welcome to the Linux Foundation Forum!
Bind DNS help!
usmangt
Posts: 42
Hi,
i have setup a forward dns entry and i have specified the ip 192.169.x.x (i got this ip from the ifconfig command)
Now when i do nslookup finds the domain perfectly but the problem is that it can be only viewable privately not publically viewable.
I am not sure how to make the domain publically viewable , but what i was thinking is that If i check the main ip address from the www.whatismyip.com and replace my private ip with it. Will that work. or need some other way.
Please help.
usmangt
0
Comments
-
Hello!
First of all, there is the question of how you point the DNS name. For instance a dns file is null and void if your domain name provider (in essence NOT the same thing as a nameserver) have to point towards you. So first of all if you have domain.xxx you need to tell the internet via your domain name provider that domain.xxx is found at your "whatsmyip.com" address.
Secondly you have to open your firewall for access towards traffic at TCP(?)/UDP on port 53 for domain lookup.
Protip: If you have a dynamic IP address do not even consider hosting this at home
0 -
spixx wrote:Protip: If you have a dynamic IP address do not even consider hosting this at home

I do have a dynamic IP and have a downtime of a few minutes every two months...0 -
No-IP.com and dyndns.com are services you should look into.0
-
Sorry for the late respons:
when having a dynamic IP I would as above use a no-ip.com address, namely use the no-ip linux client add a cname towards the ip so it points this way:
domain.com - - [CNAME] - - > domain.no-ip.com - - [ your ip ] - - > Webserver.
This is how I does it. A tip is to check if your router supports for instance dyndns most of them do and that is a simple and good way of having a possibiltiy to host domains on a ip that changes since many DNS servers on the Internet often tend to ignore short TTL.0 -
And you should PAT/NAT what is coming from "outside" in destination of the port 53 (in your case)
For the domain name take a free one for example on azote.org
And then configure it to be able to administrate your domain name...
0
Categories
- All Categories
- 178 LFX Mentorship
- 178 LFX Mentorship: Linux Kernel
- 775 Linux Foundation IT Professional Programs
- 384 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 103 Cloud Native Developer IT Professional Program
- 7.7K Training Courses & Learning Paths
- 13 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 36 Cloud & Containers Training
- 4 Cybersecurity Training
- 3 DevOps & Site-Reliability Training
- 2 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 5 System Administration Training
- 1 System Engineering Training
- 6 Web & Application Development Training
- 798 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 773 Linux Distributions
- 81 Debian
- 68 Fedora
- 24 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 32 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 472 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 103 Linux Security
- 79 Network Management
- 102 System Management
- 46 Web Management
- 167 Mobile Computing
- 32 Android
- 120 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 407 Off Topic
- 128 Introductions
- 35 Study Material
- 1.1K Programming and Development
- 311 Kernel Development
- 723 Software Development
- 1K Software
- 418 Applications
- 183 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)