Results 1 to 7 of 7
  1. #1

    BIND DNS Setting - Where am I going wrong ??

    Hi,

    I have looked for a decent guide all over the net and haven't found one...

    I have FC5 with Webmin and BIND 9.3.2 on a VPS, I am using BIND to administer it.

    I have several domains reg'd with 1and1.co.uk I'll start with 100mbit.co.uk.

    I want to use it as a email, ftp and web server. (dovecot, vsftpd, apache)

    In the 1and1 control panel I can change the A-record, name servers and MX records. Here is what its setup at the moment at 1and1, all can be changed though.

    Domain name 100mbit.co.uk
    IP Address (A-Record) 87.117.194.150
    Name server 1 ns45.1and1.co.uk
    Name server 2 ns46.1and1.co.uk
    Mail server 1 mx00.1and1.co.uk, 10
    Mail server 2 mx01.1and1.co.uk, 10

    I have tried to setup BIND, but to be honest not 100% sure what im doing.

    Im not really sure what im doing wrong in BIND, if possible can someone tell me what records I need in BIND.

    PS - the hostname is java, so java.100mbit.co.uk

    Thank you

    Stuart

    [EDIT] I also have these details from my VPS provider
    ns0.tidyhosts.com
    ns1.tidyhosts.com
    Last edited by stuartornum; 09-09-2006 at 08:11 AM.

  2. #2
    Join Date
    Nov 2005
    Posts
    38
    Stuart, are you trying to create your own nameservers on the server or do you simply wish to change the records at 1&1 to point to your server?


  3. #3
    Join Date
    Nov 2005
    Location
    /etc/fstab
    Posts
    1,274
    Im not really sure what im doing wrong in BIND, if possible can someone tell me what records I need in BIND.
    You need to modify the zone files to add some entry for some domains. Adding the entries in the registrar only will not work. You have to put those settings in the zone files. Is there any zone file editor in webmin? Kind Regards
    Mellowhost - Providing High Quality Web Hosting Services since 2007
    SSD Cpanel Shared, SSD OpenVZ & KVM VPS Hosting
    A Hosting Provider with Complete SSD VPS & Shared Hosting.

  4. #4
    You need to set A record for your nameserver record - ns45.1and1.co.uk and ns46.1and1.co.uk. If you check in dns dig, it says that

    *** ERROR *** The IP address "195.20.224.112" you specified as a nameserver address
    *** ERROR *** is not a valid nameserver for "100mbit.co.uk" or the NS record is missing


    *** ERROR *** ns46.1and1.co.uk A record not found at ns45.1and1.co.uk, server failure

    *** ERROR *** ns45.1and1.co.uk A record not found at ns45.1and1.co.uk, server failure


    No addresses of nameservers for 100mbit.co.uk found.

    Update your A record for ns45.1and1.co.uk and ns46.1and1.co.uk
    Live Your DreamZ
    ~Besty

  5. #5
    Thanks CChrisB hadrick and besty

    I ideally want my own name server, so when I add domains, on the registrar website I put say ns1.100mbit.co.uk and ns2.100mbit.co.uk.

    Here is the zone file so far:

    $ttl 30M
    100mbit.co.uk. IN SOA ns1.100mbit.co.uk. sales.designpc.co.uk. (
    1157803638
    10800
    3600
    604800
    30M )
    100mbit.co.uk. IN NS ns1.100mbit.co.uk.
    100mbit.co.uk. IN A 87.117.194.150
    100mbit.co.uk. IN NS ns2.100mbit.co.uk.
    ns1.100mbit.co.uk. IN A 87.117.194.150
    ns2.100mbit.co.uk. IN A 87.117.194.150
    mail.100mbit.co.uk. IN A 87.117.194.150
    www.100mbit.co.uk. IN CNAME 100mbit.co.uk
    100mbit.co.uk. IN MX 1 mail.100mbit.co.uk.


    Here is a screenshot of my 1and1.co.uk settings located on my server:

    http://www.100mbit.co.uk/dns.jpg


    Besty, do you mean I have to add A-records to bind or at 1and1.co.uk?

    Thanks all

    Stuart

  6. #6
    You have to add A record for your nameserver ns1.100mbit.co.uk like the one shown for example

    domain.com. IN NS ns1.domain.com.
    ns1.domain.com IN A 0.0.0.0(Your real nameserver IP)
    Live Your DreamZ
    ~Besty

  7. #7
    Sorry besty, I don't quite understand, don't I already have A-recods for my name servers in BIND, it say above in my previous post?

    100mbit.co.uk. IN NS ns1.100mbit.co.uk.
    ns1.100mbit.co.uk. IN A 87.117.194.150
    (which is my real nameserverIP)

    Thanks

    Stuart

    PS. This is what 1and1 sent me after I called them, which is what I believe I have done already?
    http://faq.oneandone.co.uk/domains/dns_settings/12.html

    Should I be able to ping ns1.100mbit.co.uk?
    I can obviously ping 100mbit.co.uk and I can ping ftp.100mbit.co.uk for some reason even thought I haven't created a A-record ??

    But i cannot ping ns1.100mbit.co.uk or ns2.100mbit.co.uk or even mail.100mbit.co.uk ???
    Last edited by stuartornum; 09-10-2006 at 09:47 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •