Hi Bruce,
xCAT is using Perl::Net::DNS to set up DNS in xcat 2.6.1, it's a little
different with the static DNS config. After makedns -n, you can see
zonefiles(db.*) are created in /var/named, while it's correct that you can
only see something like this in it:
-------------------------------------------
[root@ca4lpar01 named]# cat db.192.168.11
$TTL 86400
@ IN SOA ca4lpar01.local. root.ca4lpar01.local. ( 2011080200 10800 3600
604800 86400 )
IN NS ca4lpar01.local.
-------------------------------------------
Because the DNS records are actually in db.*.jnl, it's binary file, if you
run "service named restart", then named will dump the DNS records from
db.*.jnl to db.<zone>, for example:
-------------------------------------------
[root@ca4lpar01 named]# cat db.192.168.11
$ORIGIN .
$TTL 86400 ; 1 day
11.168.192.IN-ADDR.ARPA IN SOA ca4lpar01.local. root.ca4lpar01.local. (
2011080201 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
86400 ; minimum (1 day)
)
NS ca4lpar01.local.
$ORIGIN 11.168.192.IN-ADDR.ARPA.
10 PTR c1n01.local.
107 PTR ca4lpar01.local.
[root@ca4lpar01 named]#
-------------------------------------------
So I think the point here is if you have db.*.jnl created in /var/named?
does nslookup work for you?
Thx.
Jing
Bruce Pennypacker <[email protected]>
2011-08-02 03:07
Please respond to
xCAT Users Mailing list <[email protected]>
To
[email protected]
cc
Subject
[xcat-user] makedns results in empty zonefiles
I'm using xCAT 2.6.1. I've defined my site & networks, and generated a
hosts file using makehosts -n which looks correct. But now when I try
to generate a DNS config using makedns -n I just end up with a bunch of
zonefiles in /var/named that are empty save for the header:
$TTL 86400
@ IN SOA jacket.uit.tufts.edu. root.jacket.uit.tufts.edu. ( 2011080100
10800 3600 604800 86400 )
IN NS jacket.uit.tufts.edu.
Why would hosts be written to /etc/hosts when you run makehosts -n but
nothing gets added to DNS when you run makedns -n?
Thanks,
-Bruce
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user