2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

98 Commits

Author SHA1 Message Date
bybai
204b78bf86 makedns add redundant message in /etc/named.conf 2377 2017-01-09 04:12:08 -05:00
bybai
25de1b0129 polish it 2017-01-05 21:16:10 -05:00
bybai
fcc08f1e13 polish it 2017-01-04 21:11:34 -05:00
bybai
9432dbb5c8 fix 2206 add comments in /etc/named.conf indicating that it is generated by xCAT 2017-01-04 02:18:32 -05:00
Kilian Cavalotti
fd90ff371b ddns.pm: fix condition to append domainname to hostname
Fix an issue where the domainname was not appended to the hostname
when the domainname was contained in a substring of the hostname.
Update the regular expression to make sure it only check for the
domainname at the end of the hostname string.
2016-11-08 15:27:45 -08:00
bybai
eedf5d7069 polished the ddns.pm based on comments 2016-08-30 22:33:21 -04:00
bybai
12773c44fc fix issue 1553 makedns failed when input invalid hostname into /etc/hosts 2016-08-25 01:52:19 -04:00
Mark Gurevich
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
WangXiaoPeng
5ba0427b48 fix a typo that perl sentence: continue does not work in sles11.4 2016-06-21 02:56:18 -04:00
wangxiaopeng
7fa07c687e issue 1191: do retry when update dns record replies NOTAUTH 2016-06-15 10:13:06 -04:00
penguhyang
4b8dcabe27 fix #1057, there are error messages when upgrading xcat on ubuntu 2016-05-09 05:19:55 -04:00
XuWei
f2b9f6e94a to fix Issue 302, modified my_ip_facing and related functions 2015-11-12 00:33:03 -05:00
daniceexi
06f4eca23b defect 4490: In ddns.pm, to udpate all the NS server in the zone file 2014-12-23 09:03:49 -05:00
daniceexi
77d46e97cc defect 3969: support return multiple ips for networkUtils->my_ip_facing() 2014-12-23 06:59:00 -05:00
Casandra Qiu
2d1961c4f9 bug#4286 makedns should have a verbose mode 2014-11-12 10:24:38 -05:00
daniceexi
d047c4cdf5 defect 4370: minor change in message for makedns 2014-11-10 06:34:14 -05:00
daniceexi
ce7ed0cb72 Check the version of perl-Net-DNS. If it's perl-Net-DNS-0.73-1.28, output an error message that require the update and return 2014-11-10 04:26:22 -05:00
daniceexi
6244920305 Enhance the ddns.pm to support the site.dnsinterfaces for DNS server to listen on specific interfaces instead of all 2014-10-24 09:43:31 -04:00
ligc
c455d1dbe9 fix for bug 4249: use xCAT::Utils in ddns.pm 2013-08-20 11:02:16 +08:00
immarvin
5fe158f353 replace service stuff with newly added subrotines in xCAT::Utils 2014-06-10 06:11:07 -07:00
daniceexi
d26a616680 defect 4144: to allow the recursion call for local named that the dns resolve request from other network is also allowed 2014-05-29 07:29:24 -04:00
daniceexi
87947d7fca Fixed that is external dns is used, don't try to start local dns; refine the ddns.pm that replace the tab with 4spaces. 2014-04-16 04:12:56 -04:00
daniceexi
4abeecbd03 defect 3961: make domain name keep without . at beginning 2014-02-26 13:27:14 -05:00
sjing
a4e0952b6c Fix for bug 3955. 2014-01-10 03:00:25 -05:00
sjing
62a0cb6350 Support dns master/slave configuration 2013-12-26 22:52:41 -05:00
sjing
f7812a2517 Support dns master/slave configuration 2013-12-18 01:25:16 -05:00
sjing
f475c143e9 only try to stop named if restartneeded=1
because on linux, if the named is already stopped, when we tried
to stop named, the return code is 0 with a warning message;
while on AIX, if the named is already stopped, when we tried to
stop named, the return code is 1, it's different with Linux.
2013-11-13 02:06:00 -05:00
sjing
fb60b65258 Handle the case where networks.nameservers is a comma delimited list 2013-10-24 04:19:47 -04:00
sjing
069169902d Enhance usability of makedns with more checks and better messages. 2013-09-11 05:15:36 -04:00
sjing
3e71a82741 add an error message if mn's hostname can not be resolved. 2013-09-04 05:58:19 -04:00
sjing
5a18669108 bug 3478 - exclude the net with external namesserver configured from dns zones.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-08 07:04:09 +00:00
sjing
d5f7c77bc1 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2013-06-04 08:16:38 +00:00
sjing
2cd7e5aaa4 Fix for bug 3538 - sometimes stopsrc -s named takes a longer time to take effect.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 06:11:49 +00:00
jbjohnso
6fe6d9d9c8 Have ddns.pm call the code that hosts plugin uses to support extra interfaces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-22 19:03:07 +00:00
jbjohnso
876fa7df69 Add support for external DNS and DHCP servers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-09 20:21:02 +00:00
nott
50890c8a4a add multi-domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 15:22:04 +00:00
xq2005
890d2b321e ddns support on debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14771 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 07:22:27 +00:00
xq2005
9c09b4b077 chown for the dns db file on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14639 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 06:05:46 +00:00
sjing
6527f298bb handle $reply=undef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14470 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 05:59:36 +00:00
xq2005
cdd0af2092 the dns configure file on ubuntu /etc/bind/named.conf owner group should be bind
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14452 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 03:23:12 +00:00
sjing
92a8d070c2 use ip instead of hostname to new the resolver.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14426 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 08:12:39 +00:00
zhaoertao
de5444c466 fix bug 3073: ddns.pm sets umask 0007 and never restores original umask
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 09:19:21 +00:00
zhaoertao
40e144b4cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
ligc
0a6f3cc7c5 fix for bug 3538902: move the code from ddns.pm to xcatconfig to configure named to start on boot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 05:52:47 +00:00
brianfinley
a9284fafcc s/in scaling cluster./for a large cluster./g
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13101 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 05:18:56 +00:00
jjhua
403326620f For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 05:58:08 +00:00
sjing
99092c60c3 start named on boot.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11646 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 02:04:35 +00:00
sjing
84adefc1e3 check named status and start it if needed before add/delete dns records.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 05:49:41 +00:00
sjing
47284337f0 added -e flag to keep flexibility of ddns updating dns records to external dns server based on /etc/resolv.conf. Also default to use localhost as the dns server.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 04:26:38 +00:00
sjing
e77d5efd6c the fix for hostname alias
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11592 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-16 02:38:43 +00:00