#3092 Incomplete Domain Creation

1.410
closed-fixed
Jamie Cameron
5
2008-03-29
2008-03-28
Dave Overton
No

Using Webmin 1.410 and BIND 9.4.2 with FreeBSD 7's default chroot config.

Create Master Zone, use the defaults mostly and click create, then it jumps to the edit screen, showing the location of the zone file, but all the entries are "0" and edit records file brings up a blank (empty) screen.

action log has just this entry:
1486a1487,1490
> zone "testing.com" {
> type master;
> file "master/testing.com.hosts";
> };

Note, no zone file was created, just the pointer in the named.conf

Adding a single record to the zone does create the zone file, but none of the TTL or other stuff is there, so of course it doesn't work.

More info on request.

Discussion

  • Dave Overton
    Dave Overton
    2008-03-28

    Logged In: YES
    user_id=955460
    Originator: YES

    Further Info. Changing these 2 options in the BIND configs breaks it. If you put it on default it works, if you tell it to use master or slave nothing gets created.

    Directory for master zone files
    Directory for slave/stub zone files

    of course on default the zone files get created in the /etc/namedb folder instead of where they should be.

     
  • Jamie Cameron
    Jamie Cameron
    2008-03-28

    Logged In: YES
    user_id=129364
    Originator: NO

    What did you set those entries in the BIND config to? From the named.conf fragment you posted, it looks like they may have been relative when Webmin expects absolute (like /var/named/master)

     
  • Dave Overton
    Dave Overton
    2008-03-28

    Logged In: YES
    user_id=955460
    Originator: YES

    I put the dot on "default" on both of those settings, and things sorta work.

    I feel like I am not being clear.

    With dots in defaults on those 2 settings, I get 2 entries in the action log when I do "create master zone", the entry above, and the one that creates the zone file.

    When I change off default, put "master" in the master zone file selection, I get just the 1 entry in the action log, and no zone file.

    It puts the right folder name in the named.conf, just never creates the zone file there, nor does it return an error.

    And yes, the "Use relative zone file paths in named.conf?" is set to "yes"

    I can send screen shots if it will help.

     
  • Jamie Cameron
    Jamie Cameron
    2008-03-29

    Logged In: YES
    user_id=129364
    Originator: NO

    Ok, I see the problem. It would work OK if you selected the second dot and entered a full path like /var/named/master .

    In the next Webmin release, I will convert a related path like 'master' to '/var/named/master' automatically.

     
  • Jamie Cameron
    Jamie Cameron
    2008-03-29

    • status: open --> closed-fixed