Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


ip to domain name

Posted on 2004-09-02
Medium Priority
Last Modified: 2010-03-18
i just install a fedora core 1. i have succesfully configure a router with 4 NIC. each NIC is connected to the pc for webserver, ftp server, vpn server, mail server. i have a static ip where i get it from my isp. ( all ip are just sample )

static ip from isp:, netmask:, first dns: second dns:

1) let say my eth0 which connected to xdsl modem. so i configure like this:

1st. dns:
2nd dns:
( is it my configuration correct? is my ip on eth0 must be add one more digit than the static ip that isp give me?).

2) i can get thru from external to get in into my ftp server. but i have to type the ip number which hard to remember. what else do i need to do to make my name as are the step do i need to follow?...i heard about dns and bind...what is that?...i installed both of them in my fedora but haven't configure yet...

Question by:lilie795
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
LVL 19

Expert Comment

ID: 11970634
check your /etc/resolv.conf
It should be two lines according to your config:

If they don't exists add that lines.
Of course on that DNS server should run on specified servers. You can check it by calling:


Author Comment

ID: 11970940
normally when i buy a domain name such as the company will give me two dns. is that dns is a nameserver? because the give me 2 dns. example: and

by adding the nameserver/dns which the domain hosting gave me, so i can redirect all web, ftp, and others to my fedora core pc?

is i need to do others thing?

LVL 19

Expert Comment

ID: 11971578
yes that two dnses are nameserver
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.


Expert Comment

ID: 11983067
Ummm, no this isn't correct.  The subnet mask allows for 2 IPAddresses. Is not on the same subnet as the address and is actually the network address for the next higher subnet.  The only allowable addresses for this subnet would be and is the network address and is the broadcast.
Think binary for a moment after all an IPAddress is a 32 bit (binary) number devided into 4 octets but printed for ease of viewing as a decimal.

11111100 = subnet mask (252)
00000000 = network (0)
00000011 = broadcast (3)
00000001 = beginning range (1)
00000010 = ending randge (2)
00000100 = different subnet (4)

Accepted Solution

jonnietexas earned 180 total points
ID: 11983086
OK.  I just got the IP is a samle comment.  Let me add this.  Whatever your isp gives you is what your eth0 should be.  What you do with the other three NICs is your business.  Most people will use a 192.168.x.x or a 10.128.x.x with a reasonable subnet mask for your environment.  If I were you I would create...
each with a subnet mask.  This will allow 253 hosts per subnet.  

Make the interface for each subnet a .1 address.  So...

eth0 =
eth1 =
eth2 =
eth3 =

All PC's on each subnet would have their default gateway = to their respective network card's IP address on the server.

Install BIND (DNS).  Set it up to be a frowarding DNS.  This will allow you to accespt internal DNS requests and the forward your external requests to the 11.11.11...blahblah.  In this case you will set your /etc/resolve.conf to have as the dns.  Then your linux box will run named and use a forward lookup of the IPAddresses that the ISP gave you.  

Look at the man pages for named.conf.  There are a lot of websites that will walk you through a bind setup... is one.  

For external DNS you can use the service from your ISP or domain register service to create an "A" record or you can have them point to the address for the DNS request.  It will be a bit more involved but not aweful.  

Author Comment

ID: 12002045
i try first

Author Comment

ID: 12037518

Featured Post

Stack Overflow Podcast - Developer Story

Welcome to the Stack Overflow podcast recorded Thursday July 20 at Stack Overflow Headquearters in NYC. Your hosts today are podcast regulars Jay Hanlon, David Fullerton, and Ilana Yitzhaki, plus the quite irregular Matt Sherman (Stack Overflow Engineering Manager extraordinaire)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question