Results 1 to 7 of 7
  1. #1
    BG's most likeable Québécois
    Pens win! Pens Win!!! PENS WIN!!!!!

    Join Date
    Sep 2007
    Posts
    37,887
    BG Level
    10

    Configuring DNS (Bind) on Ubuntu

    Hello all, trying something really simple here and it's not working, trying to configure Bind9 on a Ubuntu 13.04 64 bits servers on VMWare

    Here are my configs

    1) My Ip static config




    2)

    This my named.conf.local as you can see it uses db.domain.local as a file
    and my rev file for the reverse

    Both files exist and are writtent the ame way

    3) This is my rev file



    4) This is my db.domain.local file



    I restarted bind and all, what and when i try to ping exemple mba.domain.local it says cannot find (like if it<s not in the DB file)

    Also if I do dig a mba.domain.local i see the info but no ip address written

    What can i do? I know i am missing something stupid

  2. #2
    Salvage Bans
    Join Date
    Aug 2006
    Posts
    932
    BG Level
    5
    FFXIV Character
    Mist Monster
    FFXIV Server
    Leviathan
    FFXI Server
    Fenrir

    I have to ask, are you are incrementing the serial after you make changes? I noticed that the serial is completely different in the reverse vs the forward. If not do that in both files (the date format in the rev is a really good way to do it), restart bind

  3. #3
    BG's most likeable Québécois
    Pens win! Pens Win!!! PENS WIN!!!!!

    Join Date
    Sep 2007
    Posts
    37,887
    BG Level
    10

    I just took the number that were in the exemple file from Ubuntu

    What should i put there?

  4. #4
    BG's most likeable Québécois
    Pens win! Pens Win!!! PENS WIN!!!!!

    Join Date
    Sep 2007
    Posts
    37,887
    BG Level
    10

    I added +1 to each serial in the files and still says unknown host when i do ping mba.domain.local

    PS If i ping 192.168.2.13 it works

  5. #5
    Salvage Bans
    Join Date
    Aug 2006
    Posts
    932
    BG Level
    5
    FFXIV Character
    Mist Monster
    FFXIV Server
    Leviathan
    FFXI Server
    Fenrir

    Quote Originally Posted by Ratatapa View Post
    I just took the number that were in the exemple file from Ubuntu

    What should i put there?
    Where I work we use the date + revision

    2013070100 (if I made an update today)
    2013070201 (if I made an another update today) and so forth

    Everything looks right to me though.. Unless its one of those things that bind doesn't have right to read those files. I did some googleing on that and it doesn't seem like Ubuntu by default sandboxes or chroot bind.

    Try these commands for trouble shooting typos (hopefully I didn't typo them!)

    named-checkzone domain.local /etc/bind/db.domain.local

    named-checkzone 2.168.192.in-addr.arpa. /etc/bind/rev.2.168.192.in-addr.arpa

    named-checkconf /etc/bind/named.conf.local

  6. #6
    Ridill
    Join Date
    Jul 2008
    Posts
    11,255
    BG Level
    9

    Guessing you were following this?

    https://help.ubuntu.com/community/BI...owto#Zone_File

    I've never set up bind so not sure, from glancing over it seems like nothing is amiss in your files.

  7. #7
    BG's most likeable Québécois
    Pens win! Pens Win!!! PENS WIN!!!!!

    Join Date
    Sep 2007
    Posts
    37,887
    BG Level
    10

    Fixed, just used ubuntu 12.04 and worked #1

Similar Threads

  1. Replies: 2
    Last Post: 2010-09-05, 17:58
  2. DNS Records on AD
    By Ikith in forum Tech
    Replies: 7
    Last Post: 2009-02-11, 23:45
  3. Replies: 4
    Last Post: 2009-01-06, 16:06
  4. HD2900 on Ubuntu!
    By Ikith in forum Tech
    Replies: 0
    Last Post: 2008-02-13, 11:44