投稿時間:2023-02-23 16:14:32 RSSフィード2023-02-23 16:00 分まとめ(18件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT ITmedia 総合記事一覧 [ITmedia News] 使い方には注意、電気毛布の消費電力は1時間〇円 https://www.itmedia.co.jp/news/articles/2302/23/news071.html itmedia 2023-02-23 15:42:00
python Pythonタグが付けられた新着投稿 - Qiita 競プロに使えるPython小技集 https://qiita.com/Michirakara/items/e5bf8f17a4d5a1b0fbda 周知の事実 2023-02-23 15:25:09
python Pythonタグが付けられた新着投稿 - Qiita PythonでOpenImageIO(OIIO)を使ってOpenEXR画像にLUTを焼き込む https://qiita.com/plinecom/items/b8f672f98637c5948da5 openimageiooiio 2023-02-23 15:10:09
Docker dockerタグが付けられた新着投稿 - Qiita CKA試験、kubeadm upgrade https://qiita.com/wk0012345/items/4e023c709e0882f54780 kubeadmupgradeubuntu 2023-02-23 15:09:46
海外TECH DEV Community DNS Server Configuration https://dev.to/waji97/dns-server-configuration-12lk DNS Server Configuration IntroductionA DNS service is a system that manages the mapping between domain names and IP addresses making it possible for computers to locate and connect to websites and other online resourcesDNS ports UDP TCP Simple Lookup Domain name gt IP address Reverse Lookup IP Address gt Domain nameRecursive DNS servers Look up information in the DNS hierarchy for clientsAuthoritative DNS servers Store and provide information about specific domains Domain Name StructureHostname A name given to a specific device or server on a network used to identify and distinguish between different devicesDomain name A human readable label used to identify a website or other online resource consisting of one or more words separated by periods with the rightmost label indicating the TLDRoot domain The highest level of the domain name system represented by a period at the end of a domain name and serving as the starting point for all domain name resolutions DNS record typesA Record An A record maps a domain name to an IPv addressAAAA Record An AAAA record maps a domain name to an IPv addressMX Record An MX record specifies the mail server responsible for accepting email messages for a specific domain nameCNAME Record A CNAME record maps an alias or nickname for a domain name to the actual domain nameNS Record An NS record specifies the authoritative name servers for a domainTXT Record A TXT record can contain any text data and is often used for DNS based authentication and anti spam measuresSRV Record An SRV record specifies the location of a service provided by a domain such as a SIP or XMPP serviceSOA Record An SOA record specifies the authoritative name server for a domain and contains information about how frequently the DNS information should be refreshedFully Qualified Domain Name is a complete domain name that specifies the exact location of a resource within the Domain Name System DNS hierarchyFor example the FQDN for a website might be www example com where www is the hostname example is the second level domain and com is the top level domain The complete FQDN specifies the full path to the web server and can be used by client devices to locate and connect to the server Simple hands onI have used Linux VMs in my VMWare workstation to configure DNS servers for backup network is We will start by installing the bind package on both systemsyum y install bind After installation we will go tovi etc named confThis file is the main config file for the DNS serverInside this file I cleared out the comments in this section for clarity options listen on port listen on v port directory var named dump file var named data cache dump db statistics file var named data named stats txt memstatistics file var named data named mem stats txt recursing file var named data named recursing secroots file var named data named secroots allow query localhost recursion yes dnssec enable yes dnssec validation yes bindkeys file etc named root key managed keys directory var named dynamic pid file run named named pid session keyfile run named session key Inside this file we will change the intolisten on port any We need all of the users to have access to the DNS serverAlso need to change this line to accept anyallow query any Finally changing recursion to norecursion no Setting recursion to no will make the recursive query to not go to the cache server We turn this feature off for security reasons In simpler words we are making the DNS server to not respond to any query that DNS doesn t know instead of searching for it This triggers another issue If we are using a DNS Local server in our network it won t search for any other DNS name from other DNS servers This will make the users that are using the local DNS server not able to access any other website outside of the local DNS address pool To solve the above issue we use an ACL rule acl AllowRecursion lt Your Local Network ID gt Also adding recursion yes allow recursion AllowRecursion Looking at the bottom of the config fileinclude etc named rfc zones This is where we include our Domain Names that we boughtAlso zone IN type hint file named ca This declares that if the requested address is not found DNS should look for the requested query from the named ca file The named ca file contains the DNS server addresses from all over the worldNow we need to include the domain name in the zones filevi etc named rfc zones Adding the following at the endzone waji com IN type master file waji zone allow update allow transfer zone in addr arpa IN type master file waji rev allow update allow transfer The is the IP address for the backup DNS serverWe have just done the DNS settings for forward and reverse lookupWe have master slave and hint types for DNS entries master for the main DNS server slave for the backup DNS entry and hint for the cache serverwaji zone and waji rev are the zone files These files should have the records A records etc if we are not using DDNS we won t need allow update lineI am not using DDNS so the above becomes zone waji com IN type master file waji zone allow transfer zone in addr arpa IN type master file waji rev allow transfer Never use any in allow transfer We are allowing transferring the zone file that contains record names If this file gets out to any anonymous person he she can exploit that file details to harm usWe only have to allow the Slave DNS server In my case is our slave DNS serverNow we need to go tocd var namedHere we need to create the filescp named localhost waji zonecp named localhost waji revIn the waji zone file TTL D IN SOA ns waji com root serial D refresh H retry W expire H minimum IN NS ns waji com ns IN A www IN A aaa IN CNAME www waji com Here we have set it so that if the client searches for ns waji com the server will reply to gt is translated to the domain name origin Now in the waji rev file TTL D IN SOA ns waji com root serial D refresh H retry W expire H minimum IN NS ns waji com IN PTR ns waji com IN PTR www waji com We need to change the ownership for the files and directories under var named to named for the DNS to actually work Current owner rw r root root 월 waji rev rw r root root 월 waji zone Changing the group ownershipchown named waji rw r root named 월 waji rev rw r root named 월 waji zoneNow we just need to enable and start the servicesystemctl start namedsystemctl enable namedFinally adding the service to the firewallfirewall cmd permanent add service dnsfirewall cmd reloadWe successfully configured the master DNS server From the unconfigured slave DNS server we will test if the master was configured correctlyFrom the slave DNS server nslookup gt server Default server Address gt www waji comServer Address Name www waji comAddress We can test the other domain name gt ns waji comServer Address Name ns waji comAddress Or we can reverse lookup gt in addr arpa name ns waji com in addr arpa name www waji com Now to configure the slave DNS server vi etc named conflisten on port any allow query any Configuring inside the etc named rfc zones filezone waji com IN type slave file slaves waji zone slave notify yes masterfile format text masters zone in addr arpa IN type slave file slaves waji rev slave notify yes masterfile format text masters We don t need the masterfile format text configuration in actual setup as it is vulnerable to attacks The files should be saved in binary which is the default I am just using this setting to actually check the file contents for this hands on Going back to the Master DNS server and adding few lineszone waji com IN type master file waji zone allow transfer also notify zone in addr arpa IN type master file waji rev allow transfer also notify We needed to allow the notify capability from the master as we configured notify yes in our slave DNS serverLastly still from the Master DNS vi etc named rfc zones TTL D IN SOA ns waji com root serial D refresh H retry W expire H minimum IN NS ns waji com IN NS ns waji com ns IN A ns IN A www IN A aaa IN CNAME www waji com And the for the reverse lookupvi var named waji rev TTL D IN SOA ns waji com root serial D refresh H retry W expire H minimum IN NS ns waji com IN NS ns waji com IN PTR ns waji com IN PTR ns waji com IN PTR www waji com Restarting the servicesystemctl restart namedBack to the slave DNS server systemctl start namedsystemctl enable namedIf we navigate to var named slavesls l var named slaves total rw r r named named Feb waji rev slave rw r r named named Feb waji zone slaveWe can confirm that the DNS information is present in the slave DNS serverWe looked at what DNS server is and how it works by doing a short hands on using Virtual Machines We also linked the Master slave DNS servers that provides redundancy and fault tolerance 2023-02-23 06:23:33
海外TECH DEV Community git pull and git fetch https://dev.to/vincod/git-pull-and-git-fetch-1cdd git pull and git fetchgit pull and git fetch are both commands used in Git version control system but they perform different actions git fetch is used to download the latest changes from a remote repository to your local repository but it does not automatically merge the changes with your local branch Instead it updates your local tracking branches such as origin master or origin develop to match the remote ones This means you can review the changes that were fetched before deciding to merge them with your local branch git pull on the other hand is a combination of git fetch and git merge When you run git pull it downloads the latest changes from the remote repository and immediately merges them into your local branch This means that you don t have the opportunity to review the changes before merging them with your local branch In summary git fetch downloads the latest changes from a remote repository to your local repository and updates your local tracking branches but it does not automatically merge the changes with your local branch git pull on the other hand downloads the latest changes from a remote repository and immediately merges them into your local branch The choice between using git fetch and git pull depends on your workflow and whether you want to review the changes before merging them with your local branch or not 2023-02-23 06:16:55
海外TECH DEV Community 5 super useful CSS properties https://dev.to/stakedesigner/5-super-useful-css-properties-52e2 super useful CSS properties isolation isolate property in CSSIn this example we have a container with a light blue background color and some padding Inside the container there is an inner element with a white background color and some padding The isolation isolate property is applied to the container which creates a new stacking context for all its contents This means that the inner element is isolated from the surrounding elements and any z index value applied to it will only affect elements inside the container Note that the isolation property is not supported in all browsers so it s important to test your code thoroughly and consider providing fallbacks or alternative solutions if needed lt DOCTYPE html gt lt html gt lt head gt lt style gt container isolation isolate background color lightblue padding px inner background color white padding px lt style gt lt head gt lt body gt lt div class container gt lt p gt This is some text inside a container lt p gt lt div class inner gt lt p gt This is some text inside an inner element lt p gt lt div gt lt div gt lt p gt This is some text outside the container lt p gt lt body gt lt html gt CSS inset property in CSSIn this example the inset property is used to set the position of the box element relative to its containing element The four values specified for the inset property represent the top right bottom and left edges of the box respectively In this case the box element is positioned px from the top px from the right px from the bottom and px from the left Note that the position property must be set to absolute or fixed in order for the inset property to work Additionally the inset property is shorthand for the top right bottom and left properties so you can use those properties individually if you prefer lt DOCTYPE html gt lt html gt lt head gt lt style gt box block position relative background color lightblue padding px box position absolute inset px px px px top right bottom left background color red color white padding px lt style gt lt head gt lt body gt lt div class box block gt lt div class box gt Hello World lt div gt lt div gt lt body gt lt html gt CSS counter property in CSSIn this example we use the counter reset property to set the initial value of a counter named my counter to Then we use the counter increment property and the content property to display the current value of the counter before each list item The counter function is used to retrieve the current value of the counter and we append a period and a space to it using the CSS string concatenation operator which is the dot When you view this HTML file in a browser you should see a numbered list with each item numbered sequentially First item Second item Third item You can customize the appearance of the numbers by applying CSS styles to the li before pseudo element such as changing the font size color or position You can also use CSS counters to create more complex numbering schemes such as nested lists or chapter headings lt DOCTYPE html gt lt html gt lt head gt lt style gt lt style gt counter margin top px ul margin top px padding px li list style none margin px paddin px body counter reset my counter li before counter increment my counter content counter my counter lt style gt lt style gt lt head gt lt body gt lt counter gt lt div class counter gt lt ul gt lt li gt First item lt li gt lt li gt Second item lt li gt lt li gt Third item lt li gt lt ul gt lt div gt lt body gt lt html gt CSS filter property in CSSIn this example we use the sepia contrast brightness and saturate filters to create a sepia toned high contrast slightly brighter and more saturated version of the image You can adjust the values of these filters to create different effects and experiment with other filter functions as well lt img src alt My image gt lt style gt img filter sepia contrast brightness saturate lt style gt CSS contain property in CSS lt DOCTYPE html gt lt html gt lt head gt lt style gt container contain layout child width height lt style gt lt head gt lt body gt lt div class container gt lt div class child gt lt p gt This is some content inside a child element lt p gt lt div gt lt div gt lt body gt lt html gt In this example we have a container element with the contain property set to layout This means that the layout of the container and its contents is independent of the rest of the page layout and any changes made inside the container will not affect elements outside it Inside the container we have a child element with a specified width and height Because the container has contain layout the child element s layout will not be affected by anything outside the container including other elements or styles This can improve rendering performance because the browser can optimize the layout and rendering of the container and its contents without considering other elements on the page Note that the contain property is not supported in all browsers so it s important to test your code thoroughly and consider providing fallbacks or alternative solutions if needed Also the contain property has different values for different use cases such as contain paint for optimizing painting performance or contain size for optimizing size calculations Be sure to choose the appropriate value for your specific use case Support YouTubeWebsite Thanks for reading If you have any questions complaints or tips you can leave them here in the comments I will be happy to answer See you later 2023-02-23 06:09:17
海外TECH Engadget Uber puts a ride tracker on the iPhone lock screen https://www.engadget.com/uber-ride-tracker-iphone-lock-screen-060908235.html?src=rss Uber puts a ride tracker on the iPhone lock screenUber has rolled out an update for its iPhone app that gives you the capability to see at a glance whether it s time to head out the door and meet the ride you ordered The company has launched support for Live Activities an iOS feature that puts real time events from compatible apps on top of the lock screen and on the iPhone Dynamic Island when your device is unlocked nbsp Uber s take on Live Activities is a window that includes the live progress of a ride its latest estimated time of arrival and the trip status such as whether your driver is already waiting for you and if the ride has been completed It also shows the vehicle type and the license plate number of the ride you re waiting for As MacRumors notes Apple announced that Uber would support Live Activities at WWDC last year and the feature has been in testing in select regions over the past months This is a wide release that gives you access to the feature anywhere in the world A company spokesperson also told the publication that the Uber Eats app will support Live Activities in the coming months In addition to Live Activities Uber has updated its app to simplify the homescreen experience as well It has a new Services tab where you can find all of the company s services available in your city as well as a new Activity Hub that tracks past and upcoming rides and Eats orders nbsp 2023-02-23 06:09:08
海外ニュース Japan Times latest articles Emperor Naruhito expresses sorrow at world suffering and prays for peace https://www.japantimes.co.jp/news/2023/02/23/national/emperor-naruhito-birthday-peace-suffering/ Emperor Naruhito expresses sorrow at world suffering and prays for peaceThe emperor also expressed hopes that people would support each other to overcome challenges like the COVID pandemic and skyrocketing costs of living 2023-02-23 15:43:45
海外ニュース Japan Times latest articles Get your sports vocabulary into shape for the start of baseball season https://www.japantimes.co.jp/life/2023/02/23/language/get-sports-vocabulary-shape-start-baseball-season/ strike 2023-02-23 15:20:06
ニュース BBC News - Home Omagh shooting: Police launch attempted murder inquiry after officer attacked https://www.bbc.co.uk/news/uk-northern-ireland-64740066?at_medium=RSS&at_campaign=KARANGA omagh 2023-02-23 06:44:07
ニュース BBC News - Home Welsh island has one of the darkest skies in world https://www.bbc.co.uk/news/uk-wales-64731286?at_medium=RSS&at_campaign=KARANGA night 2023-02-23 06:16:12
ニュース BBC News - Home Labour will make UK best G7 economy, Keir Starmer pledges https://www.bbc.co.uk/news/uk-politics-64739371?at_medium=RSS&at_campaign=KARANGA labour 2023-02-23 06:11:20
ニュース BBC News - Home Cost of living: Buying a tiny house helps couple tackle crisis https://www.bbc.co.uk/news/uk-england-surrey-64682217?at_medium=RSS&at_campaign=KARANGA becky 2023-02-23 06:08:09
ニュース BBC News - Home The Papers: Asylum backlog' 'amnesty' row and store 'seizes salad' https://www.bbc.co.uk/news/blogs-the-papers-64739431?at_medium=RSS&at_campaign=KARANGA The Papers Asylum backlog x x amnesty x row and store x seizes salad x Thursday s papers focus on government plans to reduce the asylum backlog and the rationing of certain fruit and vegetable items in some shops 2023-02-23 06:33:30
ニュース BBC News - Home Cambridge University's Jason Arday becomes youngest black professor https://www.bbc.co.uk/news/uk-england-cambridgeshire-64717079?at_medium=RSS&at_campaign=KARANGA arday 2023-02-23 06:11:27
ニュース BBC News - Home Qatar Open: Andy Murray beats Alexander Zverev to reach quarter-finals https://www.bbc.co.uk/sport/tennis/64735302?at_medium=RSS&at_campaign=KARANGA Qatar Open Andy Murray beats Alexander Zverev to reach quarter finalsAndy Murray continues his eventful start to the season with a notable win over Germany s Alexander Zverev to put him into the Qatar Open quarter finals 2023-02-23 06:36:37
ニュース Newsweek バレたらやばい! プーチンの大事な演説中、最前列で居眠りするメドベージェフの姿 https://www.newsweekjapan.jp/stories/world/2023/02/post-100944.php 2023-02-23 15:31:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)