LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-19-2008, 03:08 AM   #1
rameshkarajada
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Rep: Reputation: 0
Unhappy how do i configure global DNS server?


Hi,
am a newbie to linux, i've bought a domain from net4india.com , i want to host my website with my ubuntu server which is installed with bind9,apache2 and Mysql modules.
i've configured Dns and Apache2 with webmin tool as follwing

ISP information
static ip from ISP=122.169.***.***
and their primary DNS server=203.145.***.***
and sec DNS server=203.145.***.###

domain registrars information

name servers:ns2.net4india.com and the ip is 203.145.***.***
name servers:ns2.net4india.com and the ip is 203.145.***.###
A records ip address:my ISP staic address i.e 122.169.***.***

bind9 configuration which i've configured at my end
domain:mydomain.com
ip address:my ISP staic address i.e 122.169.***.***
1st name server:ns1.mydomain.com
2nd name server:ns2.mydomain.com
ns1.mydomain.com:203.145.***.*** (which is dns ip address of my ISP)
ns2.mydomain.com:203.145.***.### (as ISP dns ip address of my ISP )

is it my configuration correct?
do i need to change the registars name servers address and names also?
plz help me out form this.!

give me a correct configuration to get my DNS up and runnig
 
Old 01-19-2008, 09:12 AM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
No, that's not correct. If you have BIND running on your machine, then your machine needs to be set up as a nameserver with the registrar. Most registrars have a simple webpage where you can change the authoritative DNS for your domain. Go there, put in the IP of your server, and remove the ISP DNS.

That was all based on this info:

Code:
jim@jimsworktop:~$ whois net4india.com

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

   Domain Name: NET4INDIA.COM
   Registrar: NETWORK SOLUTIONS, LLC.
   Whois Server: whois.networksolutions.com
   Referral URL: http://www.networksolutions.com
   Name Server: NS1.NET4INDIA.COM
   Name Server: NS2.NET4INDIA.COM
   Status: ok
   Updated Date: 25-oct-2007
   Creation Date: 08-apr-1999
   Expiration Date: 08-apr-2013

>>> Last update of whois database: Sat, 19 Jan 2008 15:07:43 UTC <<<

NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the expiration
date of the domain name registrant's agreement with the sponsoring
registrar.  Users may consult the sponsoring registrar's Whois database to
view the registrar's reported date of expiration for this registration.

TERMS OF USE: You are not authorized to access or query our Whois
database through the use of electronic processes that are high-volume and
automated except as reasonably necessary to register domain names or
modify existing registrations; the Data in VeriSign Global Registry
Services' ("VeriSign") Whois database is provided by VeriSign for
information purposes only, and to assist persons in obtaining information
about or related to a domain name registration record. VeriSign does not
guarantee its accuracy. By submitting a Whois query, you agree to abide
by the following terms of use: You agree that you may use this Data only
for lawful purposes and that under no circumstances will you use this Data
to: (1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail, telephone,
or facsimile; or (2) enable high volume, automated, electronic processes
that apply to VeriSign (or its computer systems). The compilation,
repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of VeriSign. You agree not to
use electronic processes that are automated and high-volume to access or
query the Whois database except as reasonably necessary to register
domain names or modify existing registrations. VeriSign reserves the right
to restrict your access to the Whois database in its sole discretion to ensure
operational stability.  VeriSign may restrict or terminate your access to the
Whois database for failure to abide by these terms of use. VeriSign
reserves the right to modify these terms at any time.

The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.NOTICE AND TERMS OF USE: You are not authorized to access or query our WHOIS
database through the use of high-volume, automated, electronic processes. The
Data in Network Solutions' WHOIS database is provided by Network Solutions for information
purposes only, and to assist persons in obtaining information about or related
to a domain name registration record. Network Solutions does not guarantee its accuracy.
By submitting a WHOIS query, you agree to abide by the following terms of use:
You agree that you may use this Data only for lawful purposes and that under no
circumstances will you use this Data to: (1) allow, enable, or otherwise support
the transmission of mass unsolicited, commercial advertising or solicitations
via e-mail, telephone, or facsimile; or (2) enable high volume, automated,
electronic processes that apply to Network Solutions (or its computer systems). The
compilation, repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of Network Solutions. You agree not to use
high-volume, automated, electronic processes to access or query the WHOIS
database. Network Solutions reserves the right to terminate your access to the WHOIS
database in its sole discretion, including without limitation, for excessive
querying of the WHOIS database or for failure to otherwise abide by this policy.
Network Solutions reserves the right to modify these terms at any time.

Get a FREE domain name registration, transfer, or renewal with any annual hosting package
- or just $8.95 with monthly packages.

http://www.networksolutions.com

Visit AboutUs.org for more information about NET4INDIA.COM
<a href="http://www.aboutus.org/NET4INDIA.COM">AboutUs: NET4INDIA.COM </a>




Registrant:
sawhney, Jasjit
   Net 4 India Ltd
   B-4/47, Safdurjung Enclave
   delhi, New Delhi 110029
   IN

   Domain Name: NET4INDIA.COM

   ------------------------------------------------------------------------
   Promote your business to millions of viewers for only $1 a month
   Learn how you can get an Enhanced Business Listing here for your domain name.
   Learn more at http://www.NetworkSolutions.com/
   ------------------------------------------------------------------------

   Administrative Contact, Technical Contact:
      sawhney, Jasjit           domainadmin@net4.in
      Net 4 India Ltd
      B-4/47, Safdurjung Enclave
      delhi, New Delhi 110029
      IN
      91.11.6104192/93 fax: 91.11.6102781


   Record expires on 08-Apr-2013.
   Record created on 08-Apr-1999.
   Database last updated on 19-Jan-2008 10:08:37 EST.

   Domain servers in listed order:

   NS1.NET4INDIA.COM            202.71.129.33
   NS2.NET4INDIA.COM            202.71.128.37

jim@jimsworktop:~$ dig net4india.com

; <<>> DiG 9.4.2 <<>> net4india.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32493
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;net4india.com.                 IN      A

;; ANSWER SECTION:
net4india.com.          28800   IN      A       202.71.130.4

;; AUTHORITY SECTION:
net4india.com.          1847    IN      NS      ns1.net4india.com.
net4india.com.          1847    IN      NS      ns2.net4india.com.

;; Query time: 423 msec
;; SERVER: 207.69.188.186#53(207.69.188.186)
;; WHEN: Sat Jan 19 10:08:53 2008
;; MSG SIZE  rcvd: 83
By the way, hiding DNS info is pointless. You want every machine in the world to reach your DNS. If they can't see your DNS, they can't see you!

Peace,
JimBass
 
Old 01-20-2008, 12:01 PM   #3
rameshkarajada
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
i've given the static address of my server to "A records" at the registars mydomain section...is't right..?///
can u plz give me the exact configuration file..plzzzz...help me !!

Last edited by rameshkarajada; 01-20-2008 at 12:09 PM. Reason: added points
 
Old 01-20-2008, 05:41 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
No, you need to stand on your own two feet in my opinion. You do not have a nameserver running at your A record, as evidenced by this output:

Code:
jim@JimsBeastie:~$ dig net4india.com @202.71.130.4

; <<>> DiG 9.4.2 <<>> net4india.com @202.71.130.4
;; global options:  printcmd
;; connection timed out; no servers could be reached
You are asking for help about something that has been posted probably 100,000 times across the internet. Zone files under BIND are hyper-documented. I am not willing to allow you to be lazy, you learn nothing that way. Install a nameserver (BIND) on your server, and get it running. Post if you have problems with that. Then once it is live, take over the delegation of your domain.

Peace,
JimBass
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-27-2012 11:50 PM
I canīt configure a dns server, donīt know how to do it stormrider_may Linux - Networking 5 02-08-2006 07:43 AM
How to Configure DNS Server arvind.kumar Linux - Security 2 02-03-2006 06:41 AM
How to configure dns server for kppp bunyan Fedora 1 03-20-2005 08:20 AM
How to configure a basic DNS server? kikis Linux - Newbie 1 05-06-2004 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration